cppcheck analysis of freej_0.10git20100110-1.dsc
- ./lib/flash/bitmap.cc:155 [error] - Mismatching allocation and deallocation: data
- ./lib/flash/bitmap.cc:518 [error] - Mismatching allocation and deallocation: data
- ./lib/flash/bitmap.cc:529 [error] - Mismatching allocation and deallocation: data
- ./lib/flash/bitmap.cc:543 [error] - Mismatching allocation and deallocation: data
- ./lib/flash/bitmap.cc:603 [error] - Mismatching allocation and deallocation: data
- ./lib/flash/bitmap.cc:475 [error] - Mismatching allocation and deallocation: colorTable
- ./lib/flash/bitmap.cc:488 [error] - Mismatching allocation and deallocation: colorTable
- ./lib/flash/character.cc:137 [possible error] - Mismatching allocation and deallocation: Character::name
- ./lib/flash/font.cc:90 [possible error] - Mismatching allocation and deallocation: SwfFont::name
- ./lib/flash/script.cc:924 [error] - Memory leak: br
- ./lib/flash/script.cc:991 [possible error] - Memory leak: target
- ./lib/flash/script.cc:1147 [error] - Mismatching allocation and deallocation: offsetTable
- ./lib/flash/script.cc:1192 [error] - Mismatching allocation and deallocation: name
- ./lib/flash/script.cc:1259 [error] - Mismatching allocation and deallocation: name
- ./lib/flash/script.cc:1265 [error] - Mismatching allocation and deallocation: offsetTable
- ./lib/flash/script.cc:1326 [error] - Mismatching allocation and deallocation: offsetTable
- ./lib/flash/script.cc:1316 [error] - Mismatching allocation and deallocation: offsetTable
- ./lib/flash/script.cc:1300 [error] - Mismatching allocation and deallocation: lut
- ./lib/flash/script.cc:1327 [error] - Mismatching allocation and deallocation: lut
- ./lib/flash/text.cc:104 [possible error] - Memory leak: font
- ./lib/javascript/config/mkdepend/main.c:830 [error] - Resource leak: fdin
- ./lib/javascript/config/mkdepend/parse.c:432 [error] - Possible null pointer dereference: file - otherwise it is redundant to check if file is null at line 434
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_64BIT'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_ARM'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_ARM;NJ_FORCE_NO_ARM_V6T2'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_ARM;NJ_FORCE_SOFTFLOAT'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_IA32'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_IA32;SOLARIS'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_IA32;_MSC_VER'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_IA32;__i386__'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_PORTING_API'.
- ./lib/javascript/nanojit/Assembler.cpp:1983 [error] - Invalid number of character ({) when these macros are defined: 'AVMPLUS_UNIX'.
- ./lib/sdl_image/IMG_xpm.c:114 [error] - Memory leak: hash
- ./lib/sdl_image/IMG_xpm.c:118 [error] - Memory leak: hash.table
- ./src/context_js.cpp:468 [error] - Memory leak: buf
- ./src/filter.cpp:279 [error] - Uninitialized variable: ret
- ./src/filter.cpp:293 [error] - Uninitialized variable: ret
- ./src/filter_js.cpp:62 [possible error] - Memory leak: duo
- ./src/generator_layer_js.cpp:60 [possible error] - Memory leak: layer
- ./src/layer_js.cpp:443 [error] - Uninitialized variable: p
- ./src/unicap_layer.cpp:255 [error] - Undefined behaviour: tmp 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/unicap_layer.cpp:267 [error] - Undefined behaviour: tmp 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/unicap_layer.cpp:279 [error] - Undefined behaviour: tmp 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.
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:48:21 +0000, based on results by cppcheck 1.41-modif