diff options
author | Ron Yorston <rmy@pobox.com> | 2021-11-25 15:56:37 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-11-25 16:03:39 +0000 |
commit | c29dc205d2dc590f6d66df5a4f26efa7ada9632d (patch) | |
tree | 64341dff1c56c32cf939e72aa1dce7c18c8d1a89 /arch | |
parent | 2e8de47ad30b86f376cf2295747634c8140cfca3 (diff) | |
download | busybox-w32-c29dc205d2dc590f6d66df5a4f26efa7ada9632d.tar.gz busybox-w32-c29dc205d2dc590f6d66df5a4f26efa7ada9632d.tar.bz2 busybox-w32-c29dc205d2dc590f6d66df5a4f26efa7ada9632d.zip |
win32: fix implementation of readlink(2)
Commit 35e32c2a71 (readlink(): do `NUL`-terminate the result) changed
how our implementation of readlink(2) handles the case where the link
is too long for the buffer. This broke xmalloc_readlink() which
expects readlink(2) to behave as documented. As a results symbolic
links with 80 or more characters didn't work properly.
Revert the commit.
(GitHub issue #237)
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions