cppcheck analysis of swfmill_0.3.0-1.dsc
- ./src/SWFFilter.cpp:14 [possible error] - Memory leak: ret
- ./src/SWFWriter.h:71 [possible error] - Memory leak: Writer::data
- ./src/swfmill.cpp:347 [error] - snprintf size is out of bounds
- ./src/swfmill.cpp:350 [error] - Resource leak: d
- ./src/swft/swft_import.cpp:37 [error] - Mismatching allocation and deallocation: tmpstr
- ./src/swft/swft_import.cpp:21 [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)
- ./src/swft/swft_import_binary.cpp:65 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_binary.cpp:80 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_jpeg.cpp:100 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_jpeg.cpp:116 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_jpeg.cpp:194 [error] - Mismatching allocation and deallocation: jpegdata
- ./src/swft/swft_import_jpeg.cpp:253 [error] - Mismatching allocation and deallocation: jpegdata
- ./src/swft/swft_import_jpeg.cpp:216 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_jpeg.cpp:252 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_mp3.cpp:216 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_mp3.cpp:266 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_png.cpp:221 [error] - Mismatching allocation and deallocation: compressed
- ./src/swft/swft_import_ttf.cpp:237 [error] - Mismatching allocation and deallocation: glyphs
- ./src/swft/swft_import_ttf.cpp:250 [possible error] - Memory leak: glyphs
- ./src/swft/swft_import_ttf.cpp:243 [error] - Mismatching allocation and deallocation: font_ascentmap
- ./src/swft/swft_import_ttf.cpp:426 [error] - Mismatching allocation and deallocation: glyphs
- ./src/swft/swft_import_ttf.cpp:439 [possible error] - Memory leak: glyphs
- ./src/swft/swft_import_ttf.cpp:432 [error] - Mismatching allocation and deallocation: font_ascentmap
- ./src/swft/swft_import_ttf.cpp:500 [possible error] - Memory leak: tag
- ./src/swft/swft_import_ttf.cpp:504 [possible error] - Memory leak: tag
- ./src/swft/swft_import_wav.cpp:204 [error] - Mismatching allocation and deallocation: data
- ./src/swft/swft_import_wav.cpp:253 [error] - Mismatching allocation and deallocation: data
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:46 +0000, based on results by cppcheck 1.41-modif