alexei.volkov.bugs%sun.com
a555a69765
353423: Klocwork bugs in nss/lib/pk11wrap/dev3hack.c. r=nelson
2006-10-09 22:14:04 +00:00
alexei.volkov.bugs%sun.com
eb392ed332
353416: Klocwork 76593 null ptr deref in nssCryptokiPrivateKey_SetCertificate. r=nelson
2006-10-09 22:11:44 +00:00
alexei.volkov.bugs%sun.com
a168b0dbcc
353375: Klocwork 76513 - Null ptr deref in nssCertificateList_DoCallback. r=nelson
2006-10-09 18:51:55 +00:00
alexei.volkov.bugs%sun.com
a7edef3088
353371: Klocwork 91117 - Null Pointer Dereference in CERT_CertChainFromCert. r=nelson
2006-10-09 18:45:02 +00:00
wtchang%redhat.com
80b56f2e83
Bugzilla Bug 115951: libfreebl3.dylib should be built as a loadable bundle
...
just like libnssckbi.dylib because it is only dynamically loaded. We don't
have the import library freebl3.lib on Windows either. r=julien.pierre
2006-10-06 23:45:39 +00:00
wtchang%redhat.com
6f25509ce4
Bugzilla Bug 354900: audit the modifications, accesses, deletions, and
...
additions of cryptographic keys. r=glen.beasley,relyea.
Modified files: fipstokn.c manifest.mn pkcs11c.c softoken.h
Added file: fipsaudt.c
2006-10-02 22:48:31 +00:00
wtchang%redhat.com
73f3b25c8c
Bugzilla Bug 351482: fail if some of the needed functions don't exist.
...
r=glen.beasley,relyea.
2006-10-02 22:04:33 +00:00
julien.pierre.bugs%sun.com
81bb832c8f
Fix for bug 115951 . Separate BL_Cleanup and BL_Unload . r=wtchang,nelson
2006-10-02 21:15:46 +00:00
nelson%bolyard.com
d4df5484a3
Bug 354313. Fix leak in STAN_GetCERTCertificateName. r=julien,rrelyea
2006-10-01 05:37:24 +00:00
alexei.volkov.bugs%sun.com
0154446bb1
353413: Klocwork 76541 free uninitialized pointer in CERT_FindCertURLExtension. r=nelson
2006-09-29 20:20:21 +00:00
alexei.volkov.bugs%sun.com
956aaa0068
353374: Klocwork 76494 - Null ptr derefs in CERT_FormatName. r=nelson
2006-09-29 20:18:55 +00:00
alexei.volkov.bugs%sun.com
2e23193e89
354403:: nssList_CreateIterator returns pointer to a freed memory if the function fails to allocate a lock. r=nelson
2006-09-29 20:13:30 +00:00
alexei.volkov.bugs%sun.com
11e889d320
354008: klocwork bugs in freebl. r=nelson
2006-09-29 20:12:21 +00:00
alexei.volkov.bugs%sun.com
21c4f16a00
321600: SECMOD_LoadPKCS11Module calls to PR_GetLibraryName must use PR_FreeLibraryName. r=wtchang. Patch provided by timeless.
2006-09-29 19:53:07 +00:00
alexei.volkov.bugs%sun.com
3041f905ec
314178: NSS PK11 Module: certificates with unknown AlgorythmIdentifiers make ThunderBird crashed. r=nelson, sr=julien
2006-09-29 19:38:42 +00:00
kaie%kuix.de
4336a5d2a5
Bug 350200, Implement DHMAC based POP (ProofOfPossession)
...
r=rrelyea, r=nelson
2006-09-28 22:25:55 +00:00
julien.pierre.bugs%sun.com
24aa200d7b
Fix for bug 115951 . Unload freebl dynamic library . Also fix tiny one-time leak of library name . r=nelson,wtchang
2006-09-28 00:40:55 +00:00
julien.pierre.bugs%sun.com
fe0ff2999b
Fix for bug 353910 . Memory leak in RNG_RNGInit . r=nelson, wtchang
2006-09-26 22:20:18 +00:00
julien.pierre.bugs%sun.com
ddd30a01be
Fix for bug 351897 . OCSP check should only be skipped for certificateStausResponder usage alone .
2006-09-26 20:18:57 +00:00
kaie%kuix.de
8713ab7b8f
Bug 353422, Klocwork bugs in nss/lib/crmf
...
r=nelson, r=rrelyea
Patch inspired by Nelson
2006-09-26 18:57:28 +00:00
nelson%bolyard.com
ff07e960c1
Fix build bustage caused by previous checkin.
2006-09-25 21:46:06 +00:00
julien.pierre.bugs%sun.com
909e463e76
Fix for bug 353896 . Assert at compile time if NSS_ECC_MORE_THAN_SUITE_B is set. For NSS_3_11_BRANCH and tip. r=nelson, alexei
2006-09-25 20:51:11 +00:00
nelson%bolyard.com
2f72927b06
Unifdef USE_MOZ_THREAD (bug 351510) and remove dead code (bug 351443).
...
Patch contributed by ehsan.akhgari@gmail.com . r=nelson, alexei.volkov
Modified Files: jarint.h jarsign.c jarver.c manifest.mn
Removed Files: jarevil.c jarevil.h
2006-09-25 19:45:40 +00:00
nelson%bolyard.com
c33352aa54
Fix leaks in jarfile.c (bug 338453), jarjart.c (bug 351408), and
...
jarver.c (bug 337361). Patch contributed by ehsan.akhgari@gmail.com
2006-09-25 19:20:37 +00:00
wtchang%redhat.com
a326c3f815
Bugzilla Bug 334914: removed a useless null check. Contributed by
...
Ryan Jones <sciguyryan+bugzilla@gmail.com>. r=wtc
2006-09-22 19:02:07 +00:00
wtchang%redhat.com
9fb73060ed
Bugzilla Bug 353749: for DSA KAT increased the size of P to 1024 bits
...
used nistK283 binary field curve KAT. Contributed by Glen Beasley of Sun.
r=wtc.
2006-09-22 18:33:25 +00:00
julien.pierre.bugs%sun.com
f7ae527571
Fix for bug 353572. Leak in sftk_OpenCertDB . r=alexei,nelson
2006-09-22 00:19:49 +00:00
julien.pierre.bugs%sun.com
172a1a4154
Fix for bug 353608 . NSS_RegisterShutdown may fail, and appData argument is always NULL . r=wtchang,nelson
2006-09-21 20:08:15 +00:00
wtchang%redhat.com
8dcf31baf6
Added "Basic ECC" and "Extended ECC" to the NSS version string.
2006-09-15 01:04:40 +00:00
kaie%kuix.de
9827ee91b9
Bug 351756, Add 7 new root CA certs to NSS
...
r=wtchang
2006-09-12 23:38:40 +00:00
wtchang%redhat.com
df5d67c889
Change DecryptSigBlock to return the parsed DigestInfo's length, so
...
the caller can check it. Fixed a memory leak on error. r=nelson,rrelyea
bug 351848.
2006-09-12 17:13:20 +00:00
julien.pierre.bugs%sun.com
89010b6a94
Fix for bug 352041 . oom in CERT_DecodeDERCrlWithFlags . r=alexei,nelson
2006-09-11 23:12:30 +00:00
glen.beasley%sun.com
62e437574c
351872 mem leak fix for ecdsa powerupselftest r=julien, sr=wan-teh
2006-09-09 00:24:01 +00:00
wtchang%redhat.com
0647084026
Bugzilla Bug 351482: Use audit_log_user_message, if available. Otherwise,
...
fall back on audit_send_user_message, which exists in older versions of
libaudit.so.0. r=glen.beasley,relyea.
2006-09-08 00:16:53 +00:00
julien.pierre.bugs%sun.com
f6998636c2
Fix for bug 351270 . Assertion in unix_rand.c .
2006-09-06 21:07:32 +00:00
nelson%bolyard.com
492710966f
Improve the validity tests on the AlgorithmID when verifying a PKCS#1 v1.5
...
RSA signature. Bug 351079. r=rrelyea,wtchang.
2006-09-05 09:45:46 +00:00
nelson%bolyard.com
135dffb589
Also trace the DH(E) PMS. bug 349966. r=julien.pierre, wtchang
2006-09-02 18:53:54 +00:00
julien.pierre.bugs%sun.com
8382e02245
Fix for bug 182758 . Use only /dev/urandom on Solaris when available . If not, use libkstat . r=nelson, wtchang
2006-09-01 22:08:52 +00:00
wtchang%redhat.com
c89e1aadf1
Bugzilla Bug 349609: sftk_MACUpdate only works with multi-part operations.
...
r=glen.beasley,relyea.
2006-09-01 17:07:59 +00:00
nelson%bolyard.com
39ed376b7a
When verifying a signed digest, ensure that the digest is DER encoded and
...
that there is no extra stuff after the DER encoded digest. Bug 350640.
r=julien.pierre,rrelyea
2006-08-31 03:54:48 +00:00
alexei.volkov.bugs%sun.com
d64e3427a6
337013: OOM crash [@ nssArena_Destroy - nssTrustDomain_TraverseCertificatesBySubject][@ nssArena_Destroy - nssTrustDomain_TraverseCertificatesByNickname] Dereferencing possibly NULL "tmpArena". r=nelson, sr=julien
2006-08-30 17:57:20 +00:00
glen.beasley%sun.com
4e8368c564
349965 added ECDSA key gen to power up self test r=wtc
2006-08-29 16:57:18 +00:00
nelson%bolyard.com
9b9542f673
Correctly zero-fill columns in weaved array. r=julien,wtchang. Bug 348359.
2006-08-29 02:41:38 +00:00
wtchang%redhat.com
531fe85b65
Bugzilla Bug 349632: made C_Verify work for multi-part mechanisms.
...
r=glen.beasley,relyea.
2006-08-26 01:49:48 +00:00
alexei.volkov.bugs%sun.com
f28d70066b
330056: seckey_put_private_key leaks memory. r=nelson, sr=wtc
2006-08-25 23:04:15 +00:00
alexei.volkov.bugs%sun.com
fdc6b5e64b
304361: smime: possible memory corruption when encoding/decoding smime_encryptionkeypref_template. r=nelson, sr=wtc
2006-08-25 22:26:18 +00:00
wtchang%redhat.com
6053e0ef78
Bugzilla bug 336813: do not set the nonstandard flag CKF_THREAD_SAFE. Set
...
CKF_DUAL_CRYPTO_OPERATIONS and the new v2.10 flag CKF_TOKEN_INITIALIZED.
r=relyea.
2006-08-24 22:52:21 +00:00
nelson%bolyard.com
e356cbee97
re-enable SSLTRACE for keys and (pre)master secrets. Bug 349966. r=rrelyea
2006-08-24 22:10:03 +00:00
julien.pierre.bugs%sun.com
a1e82132f0
Fix for bug 349920 . Don't optimize freebl libraries in debug build on Sparc . r=nelson, neil.williams
2006-08-23 22:56:20 +00:00
glen.beasley%sun.com
54fe81481a
349632 C_VerifyUpdate HMAC fix r=wtc,sr=bobR
2006-08-23 21:46:23 +00:00
julien.pierre.bugs%sun.com
45f5a763d7
Fix for bug 225525 . Resolve race assigning NSSCertificate fields which leaked memory and slot reference. r=nelson
2006-08-22 22:54:11 +00:00
nelson%bolyard.com
80a2861232
Fix race in CERT_NewTempCertificate. Bug 341323. r=julien,rrelyea
2006-08-22 03:30:14 +00:00
wtchang%redhat.com
98f2c3bf81
Bugzilla Bug 342476: backed out the previous checkin. Not sure if it's a
...
good idea.
2006-08-18 23:28:10 +00:00
wtchang%redhat.com
faf581ad29
Backed out the unnecessary change in the previous checkin.
2006-08-18 22:56:18 +00:00
wtchang%redhat.com
894326bb94
Bugzilla Bug 342476: NSS should set and check the pReserved field in the
...
(extended) CK_C_INITIALIZE_ARGS structure. r=nelsonb,relyea.
Modified files: pk11wrap/pk11load.c softoken/pkcs11.c
2006-08-18 22:48:41 +00:00
wtchang%redhat.com
1e8aeab6bb
Bugzilla Bug 349011: marked local functions as static. The patch is
...
contributed by timeless <timeless@bemail.org>. r=wtc.
Modified files: crmfcont.c crmfpop.c crmfreq.c
2006-08-18 22:21:34 +00:00
wtchang%redhat.com
95ac6854cf
Bugzilla Bug 53427: Added PORT_ArenaZRelease and change secasn1d.c to zero
...
our_pool before releasing or freeing it. r=nelsonb,jpierre.
Modified files: secasn1d.c secport.c secport.h
2006-08-15 23:56:01 +00:00
wtchang%redhat.com
3e79aee9fe
Bugzilla Bug 53427: passed the correct 'zero' argument to PORT_FreeArena.
...
Removed dead code. r=nelsonb,relyea.
Modified Files:
softoken/keydb.c softoken/lowpbe.c softoken/pkcs11c.c
util/secdig.c
2006-08-15 01:34:38 +00:00
wtchang%redhat.com
cf0212dd7a
Bugzilla Bug 336813: Improved NSC_GetTokenInfo and FC_GetTokenInfo. Always
...
set CKF_RNG. Set the utcTime member to 16 zeros "0000000000000000".
Factored out the common flag CKF_RNG and CKF_THREAD_SAFE. r=nelsonb,relyea.
Modified files: fipstokn.c pkcs11.c
2006-08-14 17:52:31 +00:00
wtchang%redhat.com
a480328757
Bugzilla Bug 347409: removed the on-demand initiation of the FIPS power-up
...
self-tests from FC_Login. We now require the user to shut down and restart
the softoken to initiate the power-up tests on demand. r=nelsonb.
2006-08-14 17:05:31 +00:00
wtchang%redhat.com
a99d5c47c1
Bugzilla Bug 53427: PORT_FreeArena should zero memory before freeing it if
...
the 'zero' argument is true. r=nelsonb.
2006-08-14 16:56:39 +00:00
julien.pierre.bugs%sun.com
e75f2dc686
Fix for bug 178894 . Unbreak build.
2006-08-07 20:48:04 +00:00
kaie%kuix.de
7b36815896
Bug 346551, init SECItem derTemp in crmf_encode_popoprivkey
...
r=wtchang
2006-08-07 20:02:59 +00:00
julien.pierre.bugs%sun.com
76317a1b0e
Fix for bug 178894 . Quick decoder updates for lib/certdb and lib/certhigh . r=nelson .
2006-08-07 19:09:41 +00:00
julien.pierre.bugs%sun.com
6d267dce80
Fix for bug 177184 . NSS_CMSDecoder_Cancel might have a leak . And this patch might fix it, or not. But this bug needs to be put to rest.
2006-08-05 01:19:23 +00:00
wtchang%redhat.com
fed6abf266
Bugzilla Bug 347024: Moved the software integrity test from
...
nsc_CommonInitialize to the new function sftk_fipsSoftwareIntegrityTest
and have sftk_fipsPowerUpSelfTest call sftk_fipsSoftwareIntegrityTest.
Updated the audit logging code. Removed an extraneous comma between two
string literals in fipstokn.c. r=relyea,nelsonb.
Modified files: fipstest.c fipstokn.c pkcs11.c
2006-08-03 21:50:51 +00:00
wtchang%redhat.com
acaeb20a50
Bugzilla Bug 336509: put the FIPS token in the Error state only when the
...
continuous RNG test fails.
2006-07-31 18:31:07 +00:00
wtchang%redhat.com
48090e59a8
Bugzilla Bug 336509: check for continuous RNG test failure after direct and
...
indirect uses of the RNG. r=relyea,nelsonb.
Modified files: fipstokn.c keydb.c pkcs11.c pkcs11c.c pkcs11i.h rsawrapr.c
softoken.h
2006-07-31 18:10:17 +00:00
wtchang%redhat.com
adfb2d0b34
Bugzilla bug 336509: Made prng_GenerateGlobalRandomBytes static because
...
it's only used in this file. r=neil.williams.
2006-07-29 00:28:12 +00:00
wtchang%redhat.com
b843464eb3
Bugzilla Bug 345502: C89 doesn't allow initializing a local array. Fixed
...
some array sizes. The patch is contributed by Glen Beasley of Sun. r=wtc.
2006-07-28 20:45:01 +00:00
wtchang%redhat.com
fcc85009ca
Bugzilla Bug 345779: removed two useless assignments and fixed an error in
...
the comment. r=douglas.stebila.
2006-07-26 23:17:46 +00:00
glen.beasley%sun.com
c240d4542b
345502 RNG power up selftest r=wtc
2006-07-24 03:54:09 +00:00
nelson%bolyard.com
e923291d6e
Correct ifdefs so that non-ECC builds will continue to build correctly.
...
r=wtchang bug 341707.
2006-07-20 00:17:23 +00:00
nelson%bolyard.com
aa48d36259
Curve-limited clients must not negotiate ECC ciphersuites unless they send the supported curve extension. This means that when they are nogotiating SSL 3.0
...
and not TLS, they should not negotiate ECC ciphersuites at all.
Bug 341707. r=rrelyea.
2006-07-19 01:40:17 +00:00
nelson%bolyard.com
7cb9a6798d
Workaround bogus assertion failure in MSVC 8 (Express, 2005) RTL by switching
...
from the old _findfirst, _findnext file enumeration API to the newer
FindFirstFile, FindNextFile API. Might be slower, but won't crash if it finds
files older than 1970. Bug 331404. r=julien.pierre
2006-07-19 01:33:41 +00:00
nelson%bolyard.com
916abfcc17
Coverity bug 340217. Fix leak, crash, and failure to set error codes in
...
CMMF_POPODecKeyChallContDecryptChallenge. r=alexei.volkov
2006-07-19 00:44:02 +00:00
nelson%bolyard.com
4fde45d139
Remove FORTEZZA code from this file. Coverity CID 874. r=rrelyea.
2006-07-19 00:36:38 +00:00
douglas%stebila.ca
3e2150fc10
Bugzilla Bug 338367: Turn GF2M_POPULATE and GFP_POPULATE macros into functions. r+=wtchang
2006-07-19 00:14:31 +00:00
nelson%bolyard.com
4769c68bf6
Stop using EXTENSION_NOT_FOUND error in OCSP code. r=julien. bug 287850.
2006-07-19 00:08:52 +00:00
wtchang%redhat.com
49af285a1d
Bugzilla bug 295291: regenerated using the new certdata.perl script.
2006-07-18 23:38:14 +00:00
alexei.volkov.bugs%sun.com
664d338da2
334459: Variable "(cache)->sharedCache" tracked as NULL was passed to a function that dereferences it. [@ CloseCache - InitCache]. r=nelson
2006-07-17 22:14:48 +00:00
alexei.volkov.bugs%sun.com
9ea0404651
341291: Coverity 689 - potential NULL ptr crash in ssl3_SendCertificate. r=nelson
2006-07-17 22:08:03 +00:00
alexei.volkov.bugs%sun.com
4d331091de
341120: Coverity 541 nss_cms_recipients_traverse leaks "rle". r=nelson
2006-07-17 21:57:35 +00:00
alexei.volkov.bugs%sun.com
8191f90940
341115: Multiple NULL ptr dereferences in nss/lib/base/arena.c. r=nelson
2006-07-17 21:51:32 +00:00
wtchang%redhat.com
f656732765
Bugzilla Bug 295291: removed the unused variable 'a' and sort the
...
definitions of constants in certdata.c. r=nelsonb.
2006-07-17 16:50:45 +00:00
kaie%kuix.de
1ea9ecb85c
Bug 343682, crash in libcrmf with ecc
...
patch=rrelyea, r=kengert, r=nelson
2006-07-13 20:59:51 +00:00
julien.pierre.bugs%sun.com
1bf725b1cb
Fix for bug 341708 . Have client send alert if it detects an invalid server key exchange. r=nelson
2006-06-28 21:15:04 +00:00
wtchang%redhat.com
1360e00abe
Bugzilla Bug 338798: use PR_FindFunctionSymbol to look up function
...
symbols. r=alexei.volkov,nelson.
Modified files: freebl/loader.c softoken/dbinit.c
2006-06-26 23:42:59 +00:00
wtchang%redhat.com
ab411b37bd
Bugzilla Bug 338798: in C89, local struct variables can only be initialized
...
by constant expressions. HP C compiler version B.11.11.08 generates
incorrect code silently if the initializers are non-constant expressions.
r=alexei.volkov,julien.pierre.
Modified files: cmd/crmftest/testcrmf.c lib/ssl/ssl3con.c
2006-06-26 23:32:19 +00:00
kaie%kuix.de
189631b3b1
Bug 337486, mismatch between PK11_FindCertFromNickname and FindCerts
...
r=rrelyea, r=julien.pierre
2006-06-26 23:21:07 +00:00
rrelyea%redhat.com
3f13baf101
bug 335748 ECC support for Mozilla. r=wtc
2006-06-23 17:01:38 +00:00
wtchang%redhat.com
f25d1d70cd
Bugzilla Bug 338798: in C89, local struct variables can only be initialized
...
by constant expressions. HP C compiler version B.11.11.08 generates
incorrect code silently if the initializers are non-constant expressions.
r=alexei.volkov,julien.pierre.
2006-06-21 00:40:59 +00:00
wtchang%redhat.com
034af09812
Bugzilla Bug 337034: nested two related tests. r=relyea.
2006-06-17 00:09:59 +00:00
julien.pierre.bugs%sun.com
543d49b730
Workaround (or fix) for bug 341573 . Switch compiler option from -fsimple=2 to -fsimple=1
2006-06-16 04:41:34 +00:00
alexei.volkov.bugs%sun.com
3e699dc0f0
[Bug 337110] OOM Crash and memory leak [@ PK11_CreatePBEParams]. r=julien, sr=nelson
2006-06-16 00:42:46 +00:00
wtchang%redhat.com
d3ad378479
Bugzilla Bug 341590: in FIPS mode, softoken should report the more serious
...
fatalError condition before the !isLoggedIn condition. r=nelson.
2006-06-15 23:55:59 +00:00
alexei.volkov.bugs%sun.com
d5aa4d29c5
[Bug 337008] OOM crash [@ nssList_Add - STAN_InitTokenForSlotInfo - STAN_LoadDefaultNSS3TrustDomain][@ nssList_Clone - nssList_CreateIterator - STAN_LoadDefaultNSS3TrustDomain] Dereferencing possibly NULL "(td)->tokenList". r=nelson, sr=wtc
2006-06-13 21:36:29 +00:00
wtchang%redhat.com
82930ed07a
Bugzilla Bug 341111: added a dummy reference to the SCCS and RCS version
...
strings so that they won't be optimized away. r=nelsonb.
2006-06-13 17:48:03 +00:00
alexei.volkov.bugs%sun.com
51b89f627d
[Bug 337110] OOM Crash [@ PK11_CreatePBEParams]. r=nelson
2006-06-13 17:33:06 +00:00
alexei.volkov.bugs%sun.com
4fe5c22675
[Bug 337099] Crash [@ PK11_ParamFromIV] Variable "iv" tracked as NULL
...
was dereferenced. r=nelson
2006-06-12 21:16:49 +00:00