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 [error] - Mismatching allocation and deallocation: Character::name
- ./lib/flash/script.cc:924 [error] - Memory leak: br
- ./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: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/script.cc:1767 [error] - Uninitialized variable: fileHdr
- ./lib/flash/shape.cc:849 [error] - Memory leak: curLineStyle
- ./lib/flash/shape.cc:846 [error] - Memory leak: curFillStyle
- ./lib/javascript/config/mkdepend/main.c:266 [error] - Common realloc mistake: "undeflist" nulled but not freed upon failure
- ./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/config/nsinstall.c:363 [error] - Memory leak: cwd
- ./lib/javascript/config/nsinstall.c:377 [error] - Memory leak: todir
- ./lib/javascript/config/nsinstall.c:367 [error] - Memory leak: cwd
- ./lib/javascript/config/nsinstall.c:381 [error] - Memory leak: todir
- ./lib/javascript/editline/editline.c:184 [error] - Common realloc mistake: "Screen" nulled but not freed upon failure
- ./lib/javascript/jskwgen.cpp:356 [error] - Possible null pointer dereference: columns - otherwise it is redundant to check if columns is null at line 357
- ./lib/javascript/jskwgen.cpp:387 [error] - Possible null pointer dereference: indexes - otherwise it is redundant to check if indexes is null at line 388
- ./lib/sdl_gfx/SDL_gfxPrimitives.c:3307 [error] - Common realloc mistake: "gfxPrimitivesPolyInts" nulled but not freed upon failure
- ./lib/sdl_image/IMG_xpm.c:253 [error] - Common realloc mistake: "linebuf" nulled but not freed upon failure
- ./lib/sdl_image/IMG_xpm.c:271 [error] - Common realloc mistake: "linebuf" nulled but not freed upon failure
- ./lib/sdl_image/IMG_xpm.c:118 [error] - Memory leak: hash.table
- ./src/console_readline_ctrl.cpp:199 [error] - Possible null pointer dereference: le
- ./src/console_readline_ctrl.cpp:370 [error] - Possible null pointer dereference: layer
- ./src/console_readline_ctrl.cpp:379 [error] - Possible null pointer dereference: layer
- ./src/console_readline_ctrl.cpp:380 [error] - Possible null pointer dereference: layer
- ./src/console_widgets_ctrl.cpp:104 [error] - Possible null pointer dereference: le
- ./src/context_js.cpp:468 [error] - Memory leak: buf
- ./src/filter.cpp:375 [error] - Possible null pointer dereference: param
- ./src/filter.cpp:396 [error] - Possible null pointer dereference: param
- ./src/filter.cpp:265 [error] - Uninitialized variable: ret
- ./src/filter.cpp:279 [error] - Uninitialized variable: ret
- ./src/filter.cpp:293 [error] - Uninitialized variable: ret
- ./src/jsparser.cpp:472 [error] - Memory leak: buf
- ./src/jsparser.cpp:142 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:150 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:159 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:167 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:181 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:290 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:299 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:308 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:316 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:324 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:332 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:340 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:358 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:210 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:250 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:281 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:367 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:240 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:190 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:200 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:349 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:378 [error] - Uninitialized variable: layer_object
- ./src/jsparser.cpp:261 [error] - Uninitialized variable: layer_object
- ./src/layer.cpp:286 [error] - Possible null pointer dereference: param
- ./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 Tue, 21 Dec 2010 22:58:03 +0000, based on results by cppcheck 1.46