cppcheck analysis of drawterm_20091003-1.dsc
- ./kern/devdraw.c:899 [error] - Possible null pointer dereference: tmp - otherwise it is redundant to check if tmp is null at line 900
- ./kern/devssl.c:1427 [error] - Uninitialized variable: digest
- ./kern/devssl.c:1429 [error] - Uninitialized variable: digest
- ./kern/term.c:129 [error] - Array 'xbuf[256]' index 1024 out of bounds
- ./libauth/auth_proxy.c:137 [error] - Memory leak: buf
- ./libauthsrv/readnvram.c:113 [error] - Resource leak: fdin
- ./libauthsrv/readnvram.c:349 [error] - Memory leak: root
- ./libc/dirfstat.c:21 [error] - Memory leak: d
- ./libc/dirfwstat.c:14 [error] - Memory leak: buf
- ./libc/dirstat.c:21 [error] - Memory leak: d
- ./libc/dirwstat.c:14 [error] - Memory leak: buf
- ./libc/encodefmt.c:76 [error] - Memory leak: buf
- ./libmemdraw/alloc.c:87 [error] - Memory leak: md
- ./libmemdraw/draw.c:487 [error] - Memory leak: p
- ./libmemdraw/fillpoly.c:93 [error] - Memory leak: segtab
- ./libmemdraw/openmemsubfont.c:52 [error] - Memory leak: fc
- ./libmemlayer/lalloc.c:28 [error] - Memory leak: l
- ./libmp/mpfmt.c:31 [error] - Memory leak: p
- ./libmp/mpfmt.c:160 [error] - Memory leak: buf
- ./libmp/mprand.c:21 [error] - Memory leak: p
- ./libmp/strtomp.c:127 [error] - Memory leak: p
- ./libmp/strtomp.c:147 [error] - Memory leak: p
- ./libsec/decodepem.c:49 [error] - Memory leak: d
- ./libsec/md5pickle.c:28 [error] - Memory leak: s
- ./libsec/sha1pickle.c:28 [error] - Memory leak: s
- ./libsec/tlshand.c:395 [error] - Resource leak: ctl
- ./libsec/tlshand.c:395 [error] - Resource leak: hand
- ./main.c:61 [error] - Allocation with open, if doesn't release it.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:13:42 +0000, based on results by cppcheck 1.46