cppcheck analysis of shadow_4.1.4.2+svn3283-2.dsc
- ./contrib/adduser-old.c:222 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./contrib/adduser-old.c:230 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./libmisc/copydir.c:798 [error] - Resource leak: ifd
- ./libmisc/xgetXXbyYY.c:85 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./src/newusers.c:972 [error] - Common realloc mistake: "lines" nulled but not freed upon failure
- ./src/newusers.c:973 [error] - Common realloc mistake: "usernames" nulled but not freed upon failure
- ./src/newusers.c:974 [error] - Common realloc mistake: "passwords" nulled but not freed upon failure
- ./src/newusers.c:1061 [error] - Memory leak: lines
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 10:58:09 +0000, based on results by cppcheck 1.46