UPSTREAM: erofs-utils: fsck: never follow exist symlinks when overwriting

Otherwise, we could face potential security issues.

Link: https://lore.kernel.org/r/20220126033726.15865-1-hsiangkao@linux.alibaba.com
Fixes: 412c8f908132 ("erofs-utils: fsck: add --extract=X support to extract to path X")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Change-Id: Ia0e1c175fb076857bdafa8355b2293d778a8eb27
1 file changed