cppcheck analysis of binutils_2.20.1-3.dsc
- ./bfd/doc/chew.c:1550 [possible error] - Resource leak: f
- ./bfd/elf32-xtensa.c:10525 [error] - Possible null pointer dereference: linkonce_kind
- ./bfd/gen-aout.c:109 [error] - Resource leak: file
- ./bfd/libbfd.c:320 [error] - Memory leak: ptr
- ./bfd/libbfd.c:357 [error] - Memory leak: ptr
- ./binutils/nlmconv.c:1091 [possible error] - Resource leak: custom_data
- ./binutils/nlmconv.c:1091 [possible error] - Resource leak: help_data
- ./binutils/nlmconv.c:1091 [possible error] - Resource leak: message_data
- ./binutils/nlmconv.c:1091 [possible error] - Resource leak: rpc_data
- ./binutils/nlmconv.c:1091 [possible error] - Resource leak: shared_data
- ./binutils/objdump.c:1032 [error] - Resource leak: fd
- ./binutils/prdbg.c:2363 [error] - Memory leak: method_name
- ./binutils/readelf.c:326 [possible error] - Memory leak: mvar
- ./binutils/readelf.c:7728 [error] - Memory leak: lengths
- ./binutils/readelf.c:7796 [error] - Memory leak: lengths
- ./binutils/readelf.c:7223 [error] - Unusual pointer arithmetic
- ./binutils/srconv.c:1580 [error] - Memory leak: info
- ./gas/config/tc-frv.c:921 [error] - Possible null pointer dereference: this_insn - otherwise it is redundant to check if this_insn is null at line 924
- ./gas/config/tc-sh64.c:375 [error] - Uninitialized variable: mode_start_frag
- ./gas/testsuite/gas/all/itbl-test.c:100 [error] - Resource leak: fas
- ./gold/cref.h:68 [possible error] - Memory leak: Cref::inputs_
- ./gold/gold-threads.h:218 [possible error] - Memory leak: Initialize_lock::once_
- ./gold/incremental.h:326 [possible error] - Memory leak: Incremental_inputs::lock_
- ./gold/layout.h:943 [possible error] - Memory leak: Layout::symtab_xindex_
- ./gold/layout.h:947 [possible error] - Memory leak: Layout::dynsym_xindex_
- ./gold/layout.h:951 [possible error] - Memory leak: Layout::dynamic_data_
- ./gold/layout.h:961 [possible error] - Memory leak: Layout::build_id_note_
- ./gold/layout.h:963 [possible error] - Memory leak: Layout::debug_abbrev_
- ./gold/layout.h:965 [possible error] - Memory leak: Layout::debug_info_
- ./gold/layout.h:991 [possible error] - Memory leak: Layout::incremental_inputs_
- ./gold/object.h:2008 [possible error] - Memory leak: Input_objects::cref_
- ./gold/output.h:3304 [possible error] - Memory leak: Output_section::postprocessing_buffer_
- ./gold/readsyms.cc:183 [possible error] - Memory leak: input_file
- ./gold/script.cc:1353 [possible error] - Memory leak: Parser_closure::inputs_
- ./gold/workqueue.h:290 [possible error] - Memory leak: Workqueue::threader_
- ./gprof/corefile.c:164 [error] - Resource leak: file
- ./gprof/gmon_io.c:752 [possible error] - Resource leak: ofp
- ./gprof/source.c:263 [error] - Resource leak: ifp
- ./ld/ldexp.c:1126 [possible error] - Array 'data[1]' index 1 out of bounds
- ./ld/ldexp.c:1127 [possible error] - Array 'data[1]' index 2 out of bounds
- ./ld/ldexp.c:1128 [possible error] - Array 'data[1]' index 3 out of bounds
- ./ld/ldmain.c:772 [error] - Resource leak: file
- ./opcodes/i386-dis.c:10175 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10614 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10619 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10624 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10629 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10634 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:10639 [error] - Unusual pointer arithmetic
- ./opcodes/i386-dis.c:11816 [error] - Unusual pointer arithmetic
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:46:20 +0000, based on results by cppcheck 1.41-modif