cppcheck analysis of newlib_1.18.0-1.dsc
- ./libgloss/m32r/m32r-lib.c:131 [error] - Possible null pointer dereference: tb
- ./libgloss/testsuite/libgloss.all/memory.c:38 [error] - Memory leak: result
- ./newlib/libc/posix/regcomp.c:2005 [error] - Memory leak: pmatches
- ./newlib/libc/search/hash_buf.c:153 [error] - Uninitialized variable: segment_ndx
- ./newlib/libc/stdlib/mallocr.c:2991 [possible error] - Memory leak: newmem
- ./newlib/libc/sys/linux/mq_open.c:98 [possible error] - Resource leak: fd
- ./newlib/libc/sys/linux/net/nsswitch.c:446 [error] - Resource leak: fp
- ./newlib/libc/sys/linux/net/res_debug.c:1004 [possible error] - Memory leak: sizestr
- ./newlib/libc/sys/linux/net/res_debug.c:1004 [possible error] - Memory leak: hpstr
- ./newlib/libc/sys/linux/net/res_debug.c:1004 [possible error] - Memory leak: vpstr
- ./newlib/libc/sys/linux/scandir64.c:95 [error] - Resource leak: dirp
- ./newlib/libc/sys/sparc64/scandir.c:81 [error] - Resource leak: dirp
- ./newlib/libc/unix/getcwd.c:93 [error] - Uninitialized variable: ptsize
- ./newlib/libm/test/string.c:116 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./newlib/libm/test/string.c:120 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./newlib/libm/test/string.c:126 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./newlib/libm/test/string.c:131 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./newlib/libm/test/string.c:134 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
- ./newlib/libm/test/string.c:137 [possible error] - Dangerous usage of strncat. Tip: the 3rd parameter means maximum number of characters to append
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:59:14 +0000, based on results by cppcheck 1.41-modif