cppcheck analysis of desmume_0.9.7-1.dsc
- ./src/Disassembler.cpp:2921 [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:2928 [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:2935 [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:2942 [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:1468 [error] - Uninitialized variable: src
- ./src/firmware.cpp:574 [error] - Resource leak: fp
- ./src/gdbstub/gdbstub.cpp:411 [error] - Array index -1 is out of bounds
- ./src/gdbstub/gdbstub.cpp:437 [error] - Array index -1 is out of bounds
- ./src/gtk-glade/dTools/callbacks_1_ioregs.cpp:85 [error] - Buffer access out-of-bounds
- ./src/utils/libfat/libfat.cpp:131 [error] - Memory leak: devops
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 23 Mar 2011 06:58:03 +0000, based on results by cppcheck 1.46