cppcheck analysis of nss_3.12.8-1.dsc
- ./mozilla/security/coreconf/mkdepend/main.c:269 [error] - Common realloc mistake: "undeflist" nulled but not freed upon failure
- ./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 [error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/bltest/blapitest.c:2856 [error] - Resource leak: file
- ./mozilla/security/nss/cmd/btoa/btoa.c:213 [error] - Resource leak: inFile
- ./mozilla/security/nss/cmd/certutil/certutil.c:1767 [error] - Null pointer dereference
- ./mozilla/security/nss/cmd/crlutil/crlutil.c:989 [error] - Memory leak: type
- ./mozilla/security/nss/cmd/fipstest/fipstest.c:4239 [error] - Possible null pointer dereference: dsakey
- ./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/module/test_socket.c:556 [error] - Null pointer dereference
- ./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/makepqg/makepqg.c:310 [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/pk12util/pk12util.c:259 [error] - Possible null pointer dereference: dup - otherwise it is redundant to check if dup is null at line 261
- ./mozilla/security/nss/cmd/symkeyutil/symkeyutil.c:773 [error] - Memory leak: certPrefix
- ./mozilla/security/nss/cmd/tests/remtest.c:96 [error] - Memory leak: certDir
- ./mozilla/security/nss/lib/ckfw/nssmkey/mobject.c:528 [error] - Null pointer dereference
- ./mozilla/security/nss/lib/cryptohi/secsign.c:199 [error] - Uninitialized variable: digest
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 2 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 3 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 4 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 5 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 6 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:114 [error] - Array 'vec[2]' index 7 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 2 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 3 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 4 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 5 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 6 out of bounds
- ./mozilla/security/nss/lib/freebl/desblapi.c:151 [error] - Array 'vec[2]' index 7 out of bounds
- ./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/smime/cmsdigest.c:244 [error] - Uninitialized variable: hash
- ./mozilla/security/nss/lib/sqlite/sqlite3.c:62533 [error] - Possible null pointer dereference: pExpr
- ./mozilla/security/nss/lib/sqlite/sqlite3.c:62534 [error] - Possible null pointer dereference: pExpr
- ./mozilla/security/nss/lib/zlib/gzio.c:149 [error] - Memory leak: s.path
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 08:58:11 +0000, based on results by cppcheck 1.46