cppcheck analysis of wcd_5.1.4-1.dsc
- ./src/c3po/Text.c:201 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./src/c3po/Textw.c:201 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./src/c3po/WcdStack.c:356 [error] - Memory leak: new_Offset
- ./src/c3po/dirnode.c:489 [error] - Memory leak: new_Offset
- ./src/c3po/intset.c:263 [error] - Memory leak: new_Offset
- ./src/c3po/main.c:41 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/c3po/main.c:41 [error] - Invalid number of character ({) when these macros are defined: 'SETTRACE'.
- ./src/c3po/main.c:41 [error] - Invalid number of character ({) when these macros are defined: 'WCD_UNICODE'.
- ./src/c3po/main.c:41 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./src/c3po/nameset.c:291 [error] - Memory leak: new_Offset
- ./src/stack.c:224 [error] - Dangerous usage of 'path' (strncpy doesn't always 0-terminate it)
- ./src/wcd.c:1510 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/wfixpath.c:179 [error] - Buffer overrun possible for long cmd-line args
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:19:47 +0000, based on results by cppcheck 1.46