cppcheck analysis of lesstif2_0.95.2-1.dsc
- ./clients/Motif-2.1/uil/Include.c:80 [error] - Resource leak: r
- ./clients/Motif-2.1/uil/yacc.c:1694 [error] - Memory leak: yyptr
- ./lib/Xm-2.1/VaSimple.c:331 [error] - Null pointer dereference
- ./lib/Xm-2.1/XmString.c:5201 [error] - Common realloc mistake: "res" nulled but not freed upon failure
- ./lib/Xm-2.1/XmString.c:5219 [error] - Common realloc mistake: "res" nulled but not freed upon failure
- ./scripts/man2html.c:2573 [error] - Array index -1 is out of bounds
- ./scripts/man2html.c:2746 [error] - Array index -1 is out of bounds
- ./scripts/man2html.c:2780 [error] - Array index -1 is out of bounds
- ./scripts/man2html.c:3368 [error] - Array index -1 is out of bounds
- ./scripts/man2html.c:2912 [error] - Uninitialized variable: list_options
- ./scripts/man2html.c:3024 [error] - Uninitialized variable: bd_options
- ./scripts/man2html.c:4251 [error] - Invalid number of character ({) when these macros are defined: 'NOLESSTIF'.
- ./scripts/mkinline.c:64 [error] - Resource leak: in
- ./test/Xm/messagebox/test18.c:83 [error] - Memory leak: foo
- ./test/Xm/resconvert/test2.c:60 [error] - Null pointer dereference
- ./test/Xm/text/test15.c:2212 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./test/Xm/text/test15.c:2216 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./test/Xm/xmstring/test8.c:188 [error] - Null pointer dereference
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:15:14 +0000, based on results by cppcheck 1.46