diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-09 11:16:01 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-10-09 11:16:01 +0000 |
commit | c446a718d1e60469503d44407c66f49bbd46a7a9 (patch) | |
tree | 49aeb3988f24c42fcdf45bba9c1862599f58c505 /TODO | |
parent | 3e0b7b10e691e3f15b7e1be9dd374947deae739a (diff) | |
download | busybox-w32-c446a718d1e60469503d44407c66f49bbd46a7a9.tar.gz busybox-w32-c446a718d1e60469503d44407c66f49bbd46a7a9.tar.bz2 busybox-w32-c446a718d1e60469503d44407c66f49bbd46a7a9.zip |
When lstat returns an error (such as file not found), the value of
st_mode is random garbage (under uClibc), leading to random triggering
of the S_ISDIR() case when the destination will be a normal file which
doesn't exist yet. I.E. checking the return value of lstat is not optional.
git-svn-id: svn://busybox.net/trunk/busybox@11815 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions