diff options
author | Rob Landley <rob@landley.net> | 2005-10-09 11:16:01 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-10-09 11:16:01 +0000 |
commit | ae907f38f0b35867795befa04640f7346c6be522 (patch) | |
tree | 49aeb3988f24c42fcdf45bba9c1862599f58c505 /sysdeps/linux | |
parent | f1048143ee4360affc66c39961f7862ea914400d (diff) | |
download | busybox-ae907f38f0b35867795befa04640f7346c6be522.tar.gz |
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.
Diffstat (limited to 'sysdeps/linux')
0 files changed, 0 insertions, 0 deletions