cppcheck analysis of heimdal_1.4.0~git20100221.dfsg.2-1.dsc
- ./appl/dceutils/k5dcecon.c:273 [error] - Resource leak: fd
- ./appl/login/read_string.c:126 [possible error] - Resource leak: tty
- ./appl/popper/maildir.c:99 [error] - Resource leak: dir
- ./appl/popper/maildir.c:107 [error] - Memory leak: mp
- ./appl/popper/pop_dropcopy.c:173 [possible error] - Resource leak: mfd
- ./appl/popper/pop_dropcopy.c:121 [error] - Resource leak: dfd
- ./appl/telnet/telnetd/sys_term.c:442 [error] - Resource leak: p
- ./appl/telnet/telnetd/sys_term.c:992 [error] - Resource leak: t
- ./include/bits.c:257 [possible error] - Resource leak: f
- ./kadmin/dump.c:78 [possible error] - Resource leak: f
- ./kuser/kinit.c:458 [possible error] - Resource leak: f
- ./kuser/klist.c:492 [error] - Memory leak: def_name
- ./lib/asn1/asn1_gen.c:147 [error] - Memory leak: fnout
- ./lib/asn1/gen.c:246 [error] - Memory leak: fn
- ./lib/asn1/gen_template.c:666 [error] - Memory leak: elname
- ./lib/gssapi/krb5/cfx.c:202 [possible error] - Memory leak: tmp
- ./lib/gssapi/mech/gss_krb5.c:402 [error] - Memory leak: ctx
- ./lib/hcrypto/bn.c:148 [possible error] - Memory leak: hi
- ./lib/hdb/hdb-ldap.c:1912 [error] - Memory leak: p
- ./lib/hdb/hdb-sqlite.c:611 [error] - Uninitialized variable: principal_string
- ./lib/hx509/hxtool.c:503 [possible error] - Memory leak: outfile
- ./lib/hx509/ks_p12.c:442 [possible error] - Memory leak: p12
- ./lib/krb5/crypto.c:2269 [error] - Uninitialized variable: k1_c_data
- ./lib/krb5/crypto.c:2337 [error] - Uninitialized variable: k1_c_data
- ./lib/krb5/init_creds_pw.c:1211 [possible error] - Memory leak: paid
- ./lib/roken/dirent.c:84 [error] - Mismatching allocation and deallocation: dp
- ./lib/roken/dirent.c:100 [error] - Mismatching allocation and deallocation: dp
- ./lib/roken/dirent.c:110 [error] - Mismatching allocation and deallocation: dp
- ./lib/roken/simple_exec_w32.c:191 [error] - Memory leak: nc
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:49:08 +0000, based on results by cppcheck 1.41-modif