diff options
author | Ron Yorston <rmy@pobox.com> | 2020-12-12 13:23:38 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-12-12 13:23:38 +0000 |
commit | f902184fa8aa37b0ce8b725da5657ef2ed2005dd (patch) | |
tree | c31830d6f08e585c73f7c5a15faf1e035109cef7 /TODO | |
parent | 26b641cde2e1bb2ed95683afa94b31ba0207339d (diff) | |
download | busybox-w32-f902184fa8aa37b0ce8b725da5657ef2ed2005dd.tar.gz busybox-w32-f902184fa8aa37b0ce8b725da5657ef2ed2005dd.tar.bz2 busybox-w32-f902184fa8aa37b0ce8b725da5657ef2ed2005dd.zip |
win32: make realpath() return an error if necessary
resolve_symlinks() uses GetFinalPathNameByHandleA which is loaded
at runtime because it isn't available in all versions of Windows.
If GetFinalPathNameByHandleA isn't available resolve_symlinks()
(and hence realpath()) should return a NULL pointer to indicate an
error, not the original path. Not returning NULL causes an infinite
loop in do_lstat().
See GitHub issue #204.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions