cppcheck analysis of google-gadgets_0.11.2-3.dsc
- ./extensions/linux_system_framework/process.cc:97 [error] - Resource leak: dir
- ./extensions/webkit_script_runtime/js_script_context.cc:1689 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:1744 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:1827 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:1977 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:2003 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:2047 [error] - instance of "JSContextScope" object destroyed immediately
- ./extensions/webkit_script_runtime/js_script_context.cc:2097 [error] - instance of "JSContextScope" object destroyed immediately
- ./ggadget/dir_file_manager.cc:158 [error] - Resource leak: datafile
- ./ggadget/system_utils.cc:253 [error] - Resource leak: out_fp
- ./ggadget/system_utils.cc:447 [error] - Resource leak: pdir
- ./ggadget/system_utils.cc:554 [error] - Resource leak: out_fp
- ./ggadget/tests/string_utils_test.cc:69 [error] - Mismatching allocation and deallocation: buf
- ./ggadget/zip_file_manager.cc:394 [error] - Resource leak: out_fp
- ./third_party/editline/editline.c:184 [error] - Common realloc mistake: "Screen" nulled but not freed upon failure
- ./third_party/unzip/unzip.c:522 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 523
- ./third_party/unzip/unzip.c:1097 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1099
- ./third_party/xdgmime/xdgmime.c:151 [error] - Common realloc mistake: "_caches" nulled but not freed upon failure
- ./third_party/xdgmime/xdgmime.c:151 [error] - Common realloc mistake: "_XDG_PREFIX_caches" nulled but not freed upon failure
- ./third_party/xdgmime/xdgmimemagic.c:188 [error] - Common realloc mistake: "retval" nulled but not freed upon failure
- ./third_party/xdgmime/xdgmimemagic.c:275 [error] - Memory leak: buffer
- ./unittest/gtest.cc:2897 [error] - Null pointer dereference
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, 22 Dec 2010 02:59:12 +0000, based on results by cppcheck 1.46