diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-02-23 00:35:47 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-02-23 00:35:47 -0500 |
commit | fc5a96c9c8aa186effad7520d5df6b616bbfd29d (patch) | |
tree | eeeba8f6c0cfdeafaa5955e29104850a9d7c8c68 /src/unistd/write.c | |
parent | d9da1fb8c592469431c764732d09f7756340190e (diff) | |
download | musl-fc5a96c9c8aa186effad7520d5df6b616bbfd29d.tar.gz musl-fc5a96c9c8aa186effad7520d5df6b616bbfd29d.tar.xz musl-fc5a96c9c8aa186effad7520d5df6b616bbfd29d.zip |
fix crashes in refactored passwd/group code
the wrong condition was used in determining the presence of a result that needs space/copying for the _r functions. a zero return value does not necessarily mean success; it can also be a non-error negative result: no such user/group.
Diffstat (limited to 'src/unistd/write.c')
0 files changed, 0 insertions, 0 deletions