cppcheck analysis of ncftp_3.2.4-1.dsc
- ./Strn/Strntok.c:143 [error] - Buffer overrun possible for long cmd-line args
- ./Strn/strtokc.c:204 [error] - Buffer overrun possible for long cmd-line args
- ./libncftp/rcmd.c:417 [error] - Memory leak: rp
- ./libncftp/u_getpass.c:90 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./libncftp/u_mkdirs.c:82 [error] - Dangerous usage of 's' (strncpy doesn't always 0-terminate it)
- ./ncftp/bookmark.c:302 [error] - Resource leak: fp
- ./ncftp/cmds.c:3270 [style] - Redundant assignment of "recurseFlag" in switch
- ./ncftp/cmds.c:177 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:240 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:1158 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:1226 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:1356 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:1991 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:3116 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:3196 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./ncftp/cmds.c:3319 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./vis/bmed.c:488 [error] - Uninitialized variable: str
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:17:15 +0000, based on results by cppcheck 1.46