cppcheck analysis of sword_1.6.1+dfsg-2.dsc
- ./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/modules/lexdict/swld.cpp:107 [error] - Mismatching allocation and deallocation: buf
- ./src/utilfuns/ftplib.c:460 [error] - Memory leak: lhost
- ./src/utilfuns/ftplib.c:1254 [possible error] - Resource leak: local
- ./tests/ciphertest.cpp:39 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./tests/ciphertest.cpp:48 [possible error] - Memory leak: filter
- ./tests/translittest.cpp:47 [error] - Mismatching allocation and deallocation: buf
- ./tests/versekeytest.cpp:223 [possible error] - Memory leak: parser
- ./tests/versekeytest.cpp:223 [possible error] - Memory leak: x
- ./utilities/addgb.cpp:130 [error] - Deallocating a deallocated pointer: treeKey
- ./utilities/addgb.cpp:102 [error] - Resource leak: infile
- ./utilities/addld.cpp:93 [error] - Resource leak: infile
- ./utilities/addld.cpp:117 [error] - Resource leak: infile
- ./utilities/addld.cpp:136 [error] - Resource leak: infile
- ./utilities/addvs.cpp:147 [possible error] - Memory leak: mod
- ./utilities/addvs.cpp:87 [error] - Resource leak: infile
- ./utilities/addvs.cpp:114 [error] - Resource leak: infile
- ./utilities/addvs.cpp:142 [error] - Resource leak: infile
- ./utilities/cipherraw.cpp:120 [possible error] - Memory leak: rawdrv
- ./utilities/diatheke/diatheke.cpp:244 [possible error] - Memory leak: ref
- ./utilities/genbookutil.cpp:218 [possible error] - Memory leak: book
- ./utilities/imp2vs.cpp:211 [possible error] - Memory leak: compressor
- ./utilities/imp2vs.cpp:212 [possible error] - Memory leak: module
- ./utilities/mod2osis.cpp:218 [possible error] - Memory leak: tmpKey
- ./utilities/sub.c:58 [error] - Resource leak: fp
- ./utilities/tei2mod.cpp:609 [possible error] - Memory leak: compressor
- ./utilities/xml2gbs.cpp:304 [possible error] - Memory leak: book
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:02:47 +0000, based on results by cppcheck 1.41-modif