summaryrefslogtreecommitdiff
path: root/security/nss/lib/base
Commit message (Collapse)AuthorAgeFilesLines
* Bug 505880: nss_ZRealloc could use a local NSSArena *arena variablenelson%bolyard.com2010-03-151-12/+14
| | | | | to make coverity happy Patch contributed by Timeless <timeless@mozdev.org>, r=nelson
* Fix for bug 433791. Delete Win16 references. r=nelsonjulien.pierre.boogz%sun.com2009-04-071-2/+1
|
* Bug 450845: Stop exporting symbols that are not present in the .def filesnelson%bolyard.com2008-10-051-4/+4
| | | | Eliminate PR_EXTERN, PR_IMPLEMENT in nss/lib, r=wtc
* Bug 431805: initialize error_stack_index to an invalid TPD index instead ofwtc%google.com2008-05-171-3/+7
| | | | | | 0, which is a valid TPD index. Improved comments. r=nelson. Modified Files: base/error.c nss/nssinit.c
* Bug 431929: Release the lock before returning. Acquire the lock afterwtc%google.com2008-05-131-2/+3
| | | | null checks. r=nelson.
* Bug 431805: fixed the leak of the primordial thread's error stack. Thewtc%google.com2008-05-1017-0/+6257
|\ | | | | | | | | patch is contributed by Boying Lu <brian.lu@sun.com>. r=wtc. Modified files: base/base.h base/error.c nss/nssinit.c
* | fixup commit for tag 'JSS_4_2_BRANCHPOINT'JSS_4_2_BRANCHPOINTcvs2hg2008-05-0917-6230/+0
|/
* Fix build bustage in optimized builds.nelson%bolyard.com2008-02-231-2/+3
|
* Bug 370536: Memory leaks in pointer tracker code in DEBUG builds. r=rrelyeanelson%bolyard.com2008-02-233-100/+17
|
* Bug 415264: Use the equivalent PR_ROTATE_LEFT32 calls. r=nelsonwtc%google.com2008-02-031-1/+1
| | | | Modified files: lib/base/hash.c lib/pki/pkistore.c
* [Bug 331043] Improve hash performance using _rotr intrinsic, r=brendan,nelsonnelson%bolyard.com2008-01-271-1/+3
|
* Bug 389781 NSS should be built size-optimized on Linux, Windows, and Macchristophe.ravel.bugs%sun.com2007-08-151-0/+3
| | | | r=julien.pierre.boogz
* Bug 391291 Implement Shared Database Integrity checks.rrelyea%redhat.com2007-08-091-0/+2
| | | | r=nelson (plus review from kengert)
* 354403:: nssList_CreateIterator returns pointer to a freed memory if the ↵alexei.volkov.bugs%sun.com2006-09-291-0/+1
| | | | function fails to allocate a lock. r=nelson
* 341115: Multiple NULL ptr dereferences in nss/lib/base/arena.c. r=nelsonalexei.volkov.bugs%sun.com2006-07-171-4/+4
|
* Bugzilla Bug 317052: removed the obsolete file lib/base/whatnspr.c fromwtchang%redhat.com2005-12-194-216/+3
| | | | | | | | CVS. r=relyea. Modified Files: base.h error.c manifest.mn Removed Files: whatnspr.c
* Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.wtchang%redhat.com2005-01-2018-18/+18
| | | | | This keyword adds noise to the output of "ident libnss3.so | grep NSS" on our debug build, and appears to cause spurious CVS conflicts. r=nelsonb.
* Bug 236613: change to MPL/LGPL/GPL tri-license.gerv%gerv.net2004-04-2518-534/+591
|
* Bugzilla bug 229293: fixed compiler warning "unary minus operator appliedwchang0222%aol.com2004-02-111-4/+4
| | | | to unsigned type". r=relyea,jpierre.
* Bound stan error stack at 16 error codes to limit growth.nelsonb%netscape.com2003-12-021-36/+23
| | | | Bugscape bug 54021. r=wtc.
* Bug 186586: If at NSS shutdown there are still certs in the cert caches,wtc%netscape.com2003-01-081-0/+2
| | | | | | | | | | | | cause NSS shutdown and the next NSS initialization to fail but do not destroy the cert caches (and the crypto context and trust domain containing them) to avoid a crash if the NSS client destroys the certs later. New error codes needed to be added to indicate the failure of NSS shutdown and NSS initialization due to this cause. Modified Files: base/errorval.c nss/nssinit.c pki/pki3hack.c pki/pki3hack.h pki/pkistore.c pki/pkistore.h pki/tdcache.c pki/trustdomain.c util/secerr.h
* bug 172247, don't allow import of duplicate issuer/serial certsian.mcgreer%sun.com2002-11-211-0/+1
|
* Bug 164501. Return a proper error code from PK11_FindCrlByName() so the CRLrelyea%netscape.com2002-10-101-0/+1
| | | | | code can decide if there is a hw or system failure preventing the reading of a CRL or if the CRL is just not there.
* Fix compiler warningsjpierre%netscape.com2002-09-071-1/+1
|
* Fix 164126: makefile build error.nicolson%netscape.com2002-09-061-2/+2
| | | | Change the NSS module name from "security" to "nss".
* avoid use of iteratorian.mcgreer%sun.com2002-04-221-9/+13
|
* define nss_ZREALLOCARRAY, fix bugs in nss_ZReallocian.mcgreer%sun.com2002-04-042-6/+26
|
* Fixed a memory leak on memory allocation error. r=mcgreer. (bug 129709)wtc%netscape.com2002-03-151-0/+3
|
* Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.wtc%netscape.com2002-03-151-0/+2
|
* When we free the clists, clear out our head pointer (don't keep pointing torelyea%netscape.com2002-03-011-0/+1
| | | | freed memory);
* misdeclared function signatureian.mcgreer%sun.com2002-02-281-1/+1
|
* fix aix bustageian.mcgreer%sun.com2002-02-271-0/+6
|
* Bug 120651: Memory leaks in PK11_GetCertList.relyea%netscape.com2002-02-131-1/+1
| | | | | | | 1) Fix leaks in error paths (bfind.c -- found by inspection). 2) Don't allocate hash table data out of the arena. PL_Hash grows and shrinks the hash buckets as necessary. In arenas they will just grow. 3) Don't allocate temparary locks out of the global instance arena pool.
* Fix memory leak in hash table keys. Hash tables stay around forever.relyea%netscape.com2002-02-061-1/+1
| | | | | | | keys go into and out of the table. the old code allocated the keys from the hash table's arena, so they would grow without bounds. Now the keys are allocated from the heap, and get freed when they are expunged from the table.
* some of the output in bug 123081 shows potential leaks around iterators, ↵ian.mcgreer%sun.com2002-02-051-1/+1
| | | | since the iterator is explicitly freed allocate it in its own block to avoid this
* cleanup suggested by review by Nelsonian.mcgreer%sun.com2002-02-051-1/+15
|
* Fix thread local storage leak.relyea%netscape.com2002-01-313-9/+11
|
* fix core when token list is emptied (caused by switch to fips mode)ian.mcgreer%sun.com2002-01-231-1/+6
|
* memory leak fixesian.mcgreer%sun.com2002-01-081-0/+1
|
* detect hash collisions so that the caller can handle itian.mcgreer%sun.com2001-12-123-1/+9
|
* original intent for concurrent list iteration, fixes bug 114727. a better ↵ian.mcgreer%sun.com2001-12-121-4/+35
| | | | long-term solution is needing for traversing the high-level token lists.
* check in error constian.mcgreer%sun.com2001-12-101-0/+2
|
* Patch for 107323 - fix compiler warningsjpierre%netscape.com2001-12-061-1/+0
|
* fix memory leaksian.mcgreer%sun.com2001-11-292-15/+25
|
* land changes for handling temporary and cached certs in 3.4ian.mcgreer%sun.com2001-11-284-14/+53
| | | | | | | | * separate trust object from cert object * move handling of cryptoki objects into libdev * implement digest in libdev (for trust object indexing) * fixes in cache implementation; connect cache to 3.4 certs * implement CERT_NewTempCertificate via crypto context
* fix unneeded lock release in list iterationian.mcgreer%sun.com2001-11-161-1/+0
|
* Land BOB_WORK_BRANCH unto the tip.relyea%netscape.com2001-11-083-5/+8
| | | | | | | | remove lots of depricated files. move some files to appropriate directories (pcertdb *_rand associated headers to soft token, for instance) rename several stan files which had the same name as other nss files. remove depricated functions.
* add ability to notify user that chain is incompleteian.mcgreer%sun.com2001-10-171-0/+2
|
* fix iteration for empty listian.mcgreer%sun.com2001-10-171-0/+4
|
* put the sort function in the headerian.mcgreer%sun.com2001-10-151-0/+12
|