cppcheck analysis of desmume_0.9.6-1-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:1464 [error] - Uninitialized variable: src
- ./src/firmware.cpp:573 [error] - Resource leak: fp
- ./src/fs-linux.cpp:49 [error] - Memory leak: dir
- ./src/gdbstub/gdbstub.cpp:405 [error] - Array index -1 is out of bounds
- ./src/gdbstub/gdbstub.cpp:431 [error] - Array index -1 is out of bounds
- ./src/gtk-glade/dTools/callbacks_1_ioregs.cpp:85 [error] - Buffer access out-of-bounds
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:13:30 +0000, based on results by cppcheck 1.46