cppcheck analysis of desmume_0.9.5-2.dsc
- ./src/Disassembler.cpp:2919 [error] - Undefined behaviour: txt 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/Disassembler.cpp:2926 [error] - Undefined behaviour: txt 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/Disassembler.cpp:2933 [error] - Undefined behaviour: txt 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/Disassembler.cpp:2940 [error] - Undefined behaviour: txt 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/GPU.cpp:1487 [error] - Uninitialized variable: src
- ./src/NDSSystem.cpp:1032 [error] - Memory leak: compmem
- ./src/OGLRender.cpp:301 [error] - Mismatching allocation and deallocation: log
- ./src/OGLRender.cpp:309 [error] - Mismatching allocation and deallocation: log
- ./src/OGLRender.cpp:319 [error] - Mismatching allocation and deallocation: log
- ./src/fs-linux.cpp:49 [error] - Memory leak: dir
- ./src/gtk-glade/dTools/callbacks_1_ioregs.cpp:85 [error] - Buffer access out-of-bounds
- ./src/mc.cpp:728 [error] - Resource leak: fsrc
- ./src/wifi.cpp:1807 [error] - Mismatching allocation and deallocation: frame
- ./src/wifi.cpp:2136 [error] - Mismatching allocation and deallocation: ethernetframe
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 05:46:57 +0000, based on results by cppcheck 1.41-modif