On 12/9/24 12:05, Kana Steimle wrote:
While glibc gracefully ignores calling closedir() on a null pointer,
musl will instead segfault, which causes programs that rely on
dirtree_recurse or dirtree_flagread (cp, du, find, tar...) to segfault
if it encounters a directory it isn't able to open. This patch
prevents that from happening.

I went with a slightly different fix. Commit 8cee68231fa8.

Thanks,

Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to