cppcheck analysis of nss_3.12.6-1.dsc
- ./mozilla/security/coreconf/mkdepend/main.c:840 [error] - Resource leak: fdin
- ./mozilla/security/coreconf/mkdepend/parse.c:432 [error] - Possible null pointer dereference: file - otherwise it is redundant to check if file is null at line 434
- ./mozilla/security/nss/cmd/atob/atob.c:180 [possible error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/bltest/blapitest.c:2856 [error] - Resource leak: file
- ./mozilla/security/nss/cmd/btoa/btoa.c:213 [possible error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:989 [error] - Memory leak: type
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:1089 [possible error] - Memory leak: nickName
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:1089 [possible error] - Memory leak: alg
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:1089 [possible error] - Memory leak: outFile
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:1089 [possible error] - Memory leak: slotName
- ./mozilla/security/nss/cmd/digest/digest.c:256 [possible error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/digest/digest.c:256 [possible error] - Resource leak: outFile
- ./mozilla/security/nss/cmd/lib/secutil.c:177 [error] - Resource leak: input
- ./mozilla/security/nss/cmd/lib/secutil.c:375 [error] - Resource leak: input
- ./mozilla/security/nss/cmd/libpkix/pkix_pl/system/test_rwlock.c:68 [error] - Uninitialized variable: errorResult
- ./mozilla/security/nss/cmd/libpkix/pkix_pl/system/test_rwlock.c:98 [error] - Uninitialized variable: errorResult
- ./mozilla/security/nss/cmd/libpkix/pkix_pl/system/test_string2.c:297 [possible error] - Resource leak: htmlFile
- ./mozilla/security/nss/cmd/makepqg/makepqg.c:310 [error] - Resource leak: outFile
- ./mozilla/security/nss/cmd/p7env/p7env.c:273 [error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/p7verify/p7verify.c:308 [error] - Resource leak: contentFile
- ./mozilla/security/nss/cmd/p7verify/p7verify.c:308 [error] - Resource leak: outFile
- ./mozilla/security/nss/cmd/pk11util/pk11util.c:925 [error] - Resource leak: fd
- ./mozilla/security/nss/cmd/pk11util/pk11util.c:949 [error] - Resource leak: fd
- ./mozilla/security/nss/cmd/pwdecrypt/pwdecrypt.c:310 [possible error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/pwdecrypt/pwdecrypt.c:321 [possible error] - Resource leak: outFile
- ./mozilla/security/nss/cmd/pwdecrypt/pwdecrypt.c:368 [possible error] - Resource leak: logFile
- ./mozilla/security/nss/cmd/symkeyutil/symkeyutil.c:773 [error] - Memory leak: certPrefix
- ./mozilla/security/nss/cmd/tests/remtest.c:126 [error] - Memory leak: tokenName
- ./mozilla/security/nss/lib/freebl/mpi/utils/sieve.c:138 [error] - Dereferencing 'p' after it is deallocated / released
- ./mozilla/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.h:49 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./mozilla/security/nss/lib/pk11wrap/debug_module.c:2742 [possible error] - Resource leak: outfile
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:22 +0000, based on results by cppcheck 1.41-modif