cppcheck analysis of sword_1.6.1+dfsg-2.dsc
- ./olb/Getvrsn.c:46 [error] - Buffer access out-of-bounds: versionid
- ./olb/Getvrsn.c:53 [error] - Buffer access out-of-bounds: versionid
- ./olb/Getvrsn.c:61 [error] - Buffer access out-of-bounds: versionid
- ./olb/prn2swordfrm.cpp:458 [error] - Undefined behaviour: buf 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.
- ./olb/prn2swordfrm.cpp:466 [error] - Undefined behaviour: buf 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.
- ./olb/prn2swordfrm.cpp:474 [error] - Undefined behaviour: buf 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.
- ./src/mgr/curlftpt.cpp:105 [style] - Redundant assignment of "header" in switch
- ./src/mgr/curlhttpt.cpp:98 [style] - Redundant assignment of "header" in switch
- ./src/modules/lexdict/swld.cpp:107 [error] - Mismatching allocation and deallocation: buf
- ./src/utilfuns/ftplib.c:460 [error] - Memory leak: lhost
- ./tests/translittest.cpp:47 [error] - Mismatching allocation and deallocation: buf
- ./utilities/imp2ld.cpp:51 [error] - Buffer overrun possible for long cmd-line args
- ./utilities/sub.c:58 [error] - Resource leak: fp
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:18:52 +0000, based on results by cppcheck 1.46