[PATCH] erofs-utils: tar: guard NULL hardlink targets

Gao Xiang hsiangkao at linux.alibaba.com
Fri Mar 27 04:52:33 AEDT 2026



On 2026/3/27 01:40, Vansh Choudhary wrote:
> erofs_rebuild_get_dentry() can return NULL for empty or dot-style
> paths. Treat that like an unresolved hardlink target instead of
> dereferencing d2->type.
> 
> Signed-off-by: Vansh Choudhary <ch at vnsh.in>

Can we work out some testcases in experimental-tests?

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list