cppcheck analysis of newlib_1.18.0-6.1.dsc
- ./libgloss/hp74x/io.c:145 [error] - Uninitialized variable: R_addr
- ./libgloss/hp74x/io.c:167 [error] - Uninitialized variable: R_addr
- ./libgloss/hp74x/pa_stub.c:423 [error] - Uninitialized variable: R_addr
- ./libgloss/hp74x/pa_stub.c:428 [error] - Uninitialized variable: R_addr
- ./libgloss/m32r/m32r-lib.c:131 [error] - Possible null pointer dereference: tb
- ./libgloss/mep/mep-bb.c:1036 [error] - Common realloc mistake: "bb_stack" nulled but not freed upon failure
- ./libgloss/testsuite/libgloss.all/memory.c:36 [error] - Deallocating a deallocated pointer: buf
- ./libgloss/testsuite/libgloss.all/memory.c:38 [error] - Memory leak: result
- ./newlib/libc/posix/regcomp.c:2005 [error] - Memory leak: pmatches
- ./newlib/libc/posix/scandir.c:164 [error] - Memory leak: p
- ./newlib/libc/stdlib/gdtoa-hexnan.c:130 [error] - Null pointer dereference
- ./newlib/libc/stdlib/mallocr.c:2991 [error] - Memory leak: newmem
- ./newlib/libc/stdlib/mallocr.c:3213 [error] - Data is allocated but not initialized: mem
- ./newlib/libc/sys/linux/dl/dl-minimal.c:97 [error] - Memory leak: result
- ./newlib/libc/sys/linux/iconv/iconv_charmap.c:522 [error] - Common realloc mistake: "inbuf" nulled but not freed upon failure
- ./newlib/libc/sys/linux/linuxthreads/manager.c:162 [error] - Uninitialized variable: d
- ./newlib/libc/sys/linux/mcheck.c:273 [error] - Common realloc mistake: "hdr" nulled but not freed upon failure
- ./newlib/libc/sys/linux/mq_open.c:98 [error] - Resource leak: fd
- ./newlib/libc/sys/linux/net/ether_hton.c:73 [error] - Uninitialized variable: buffer
- ./newlib/libc/sys/linux/net/ether_ntoh.c:74 [error] - Uninitialized variable: buffer
- ./newlib/libc/sys/linux/net/inet6_option.c:273 [error] - Possible null pointer dereference: tptrp
- ./newlib/libc/sys/linux/net/nsswitch.c:446 [error] - Resource leak: fp
- ./newlib/libc/sys/linux/scandir64.c:142 [error] - Memory leak: p
- ./newlib/libc/sys/linux/scandir64.c:95 [error] - Resource leak: dirp
- ./newlib/libc/sys/sparc64/scandir.c:112 [error] - Memory leak: p
- ./newlib/libc/sys/sparc64/scandir.c:81 [error] - Resource leak: dirp
- ./newlib/libm/test/string.c:116 [error] - Buffer access out-of-bounds: one
- ./newlib/libm/test/string.c:120 [error] - Buffer access out-of-bounds: one
- ./newlib/libm/test/string.c:126 [error] - Buffer access out-of-bounds: one
- ./newlib/libm/test/string.c:131 [error] - Buffer access out-of-bounds: one
- ./newlib/libm/test/string.c:134 [error] - Buffer access out-of-bounds: one
- ./newlib/libm/test/string.c:137 [error] - Buffer access out-of-bounds: one
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 02 Jan 2011 13:58:06 +0000, based on results by cppcheck 1.46