From: Alex Zhuravlev Date: Mon, 30 Sep 2019 20:50:49 +0000 (+0300) Subject: LU-12703 utils: reset rootpath in llapi_search_rootpath() X-Git-Tag: 2.12.90~27 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=3e2e0025d1e929763f9d4de48746c3433d3684d5;hp=3e2e0025d1e929763f9d4de48746c3433d3684d5 LU-12703 utils: reset rootpath in llapi_search_rootpath() as get_root_path() can use it as a source and fail if passed pathname contains garbage (on stack); Signed-off-by: Alex Zhuravlev Change-Id: I9f628353c872afc82a582b0a6ca960cd0e8cffcb Reviewed-on: https://review.whamcloud.com/36335 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin ---