julien.pierre.boogz%sun.com
443c030d5e
Fix for bug 433791. Delete Win16 references. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@256845 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 23:52:10 +00:00
nelson%bolyard.com
28636c33b5
Bug 450845: Stop exporting symbols that are not present in the .def files
...
Eliminate PR_EXTERN, PR_IMPLEMENT in nss/lib, r=wtc
git-svn-id: svn://10.0.0.236/trunk@254534 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-05 20:59:26 +00:00
wtc%google.com
5760da39fa
Bug 431805: initialize error_stack_index to an invalid TPD index instead of
...
0, which is a valid TPD index. Improved comments. r=nelson.
Modified Files:
base/error.c nss/nssinit.c
git-svn-id: svn://10.0.0.236/trunk@251681 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-17 03:44:41 +00:00
wtc%google.com
11e72090e5
Bug 431929: Release the lock before returning. Acquire the lock after
...
null checks. r=nelson.
git-svn-id: svn://10.0.0.236/trunk@251570 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-13 01:22:35 +00:00
wtc%google.com
3f91dfa33f
Bug 431805: fixed the leak of the primordial thread's error stack. The
...
patch is contributed by Boying Lu <brian.lu@sun.com>. r=wtc.
Modified files: base/base.h base/error.c nss/nssinit.c
git-svn-id: svn://10.0.0.236/trunk@251493 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-10 01:03:18 +00:00
nelson%bolyard.com
f50c2e6188
Fix build bustage in optimized builds.
...
git-svn-id: svn://10.0.0.236/trunk@246342 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 06:18:27 +00:00
nelson%bolyard.com
d6fa83b921
Bug 370536: Memory leaks in pointer tracker code in DEBUG builds. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@246341 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 05:29:39 +00:00
wtc%google.com
29fb5cc347
Bug 415264: Use the equivalent PR_ROTATE_LEFT32 calls. r=nelson
...
Modified files: lib/base/hash.c lib/pki/pkistore.c
git-svn-id: svn://10.0.0.236/trunk@244804 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 01:59:49 +00:00
nelson%bolyard.com
23842513f0
[Bug 331043] Improve hash performance using _rotr intrinsic, r=brendan,nelson
...
git-svn-id: svn://10.0.0.236/trunk@244078 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 00:43:57 +00:00
christophe.ravel.bugs%sun.com
01014185ad
Bug 389781 NSS should be built size-optimized on Linux, Windows, and Mac
...
r=julien.pierre.boogz
git-svn-id: svn://10.0.0.236/trunk@232117 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 15:30:08 +00:00
rrelyea%redhat.com
557cb6151c
Bug 391291 Implement Shared Database Integrity checks.
...
r=nelson (plus review from kengert)
git-svn-id: svn://10.0.0.236/trunk@231760 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:36:20 +00:00
alexei.volkov.bugs%sun.com
48aae2a9f3
354403:: nssList_CreateIterator returns pointer to a freed memory if the function fails to allocate a lock. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@212881 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-29 20:13:30 +00:00
alexei.volkov.bugs%sun.com
e9219b8222
341115: Multiple NULL ptr dereferences in nss/lib/base/arena.c. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@202254 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 21:51:32 +00:00
wtchang%redhat.com
b76949a7d2
Bugzilla Bug 317052: removed the obsolete file lib/base/whatnspr.c from
...
CVS. r=relyea.
Modified Files:
base.h error.c manifest.mn
Removed Files:
whatnspr.c
git-svn-id: svn://10.0.0.236/trunk@186275 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 17:53:28 +00:00
wtchang%redhat.com
68afcb2227
Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.
...
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.
git-svn-id: svn://10.0.0.236/trunk@168042 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 02:25:51 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
6b05bffd49
Bugzilla bug 229293: fixed compiler warning "unary minus operator applied
...
to unsigned type". r=relyea,jpierre.
git-svn-id: svn://10.0.0.236/trunk@152675 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 19:37:18 +00:00
nelsonb%netscape.com
0814fa4544
Bound stan error stack at 16 error codes to limit growth.
...
Bugscape bug 54021. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@149898 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-02 02:05:47 +00:00
wtc%netscape.com
83b9358446
Bug 186586: If at NSS shutdown there are still certs in the cert caches,
...
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
git-svn-id: svn://10.0.0.236/trunk@136014 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:48:47 +00:00
ian.mcgreer%sun.com
4a6e624c98
bug 172247, don't allow import of duplicate issuer/serial certs
...
git-svn-id: svn://10.0.0.236/trunk@134280 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 20:43:15 +00:00
relyea%netscape.com
faa9e5505e
Bug 164501. Return a proper error code from PK11_FindCrlByName() so the CRL
...
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.
git-svn-id: svn://10.0.0.236/trunk@131706 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:30:19 +00:00
jpierre%netscape.com
c58e9e8e95
Fix compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@129022 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 01:24:27 +00:00
nicolson%netscape.com
4b34ca8158
Fix 164126: makefile build error.
...
Change the NSS module name from "security" to "nss".
git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
ian.mcgreer%sun.com
5ec26e1000
avoid use of iterator
...
git-svn-id: svn://10.0.0.236/trunk@119560 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:44:07 +00:00
ian.mcgreer%sun.com
4a04783f0b
define nss_ZREALLOCARRAY, fix bugs in nss_ZRealloc
...
git-svn-id: svn://10.0.0.236/trunk@118127 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 16:14:26 +00:00
wtc%netscape.com
2f6a07086b
Fixed a memory leak on memory allocation error. r=mcgreer. (bug 129709)
...
git-svn-id: svn://10.0.0.236/trunk@116662 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 22:09:45 +00:00
wtc%netscape.com
4d2eddeffb
Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.
...
git-svn-id: svn://10.0.0.236/trunk@116631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 06:07:41 +00:00
relyea%netscape.com
2ce0acd912
When we free the clists, clear out our head pointer (don't keep pointing to
...
freed memory);
git-svn-id: svn://10.0.0.236/trunk@115548 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 02:13:42 +00:00
ian.mcgreer%sun.com
2da9c0987b
misdeclared function signature
...
git-svn-id: svn://10.0.0.236/trunk@115461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 01:32:32 +00:00
ian.mcgreer%sun.com
1e75bfc90c
fix aix bustage
...
git-svn-id: svn://10.0.0.236/trunk@115450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 23:17:12 +00:00
relyea%netscape.com
ce50f8dca2
Bug 120651: Memory leaks in PK11_GetCertList.
...
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.
git-svn-id: svn://10.0.0.236/trunk@114367 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:26:47 +00:00
relyea%netscape.com
d7d46c347b
Fix memory leak in hash table keys. Hash tables stay around forever.
...
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.
git-svn-id: svn://10.0.0.236/trunk@113738 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:42:08 +00:00
ian.mcgreer%sun.com
bfcd9cb632
some of the output in bug 123081 shows potential leaks around iterators, since the iterator is explicitly freed allocate it in its own block to avoid this
...
git-svn-id: svn://10.0.0.236/trunk@113719 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:08:12 +00:00
ian.mcgreer%sun.com
51a288738c
cleanup suggested by review by Nelson
...
git-svn-id: svn://10.0.0.236/trunk@113674 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:53:50 +00:00
relyea%netscape.com
0318f63324
Fix thread local storage leak.
...
git-svn-id: svn://10.0.0.236/trunk@113329 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:18:55 +00:00
ian.mcgreer%sun.com
b34e37b27f
fix core when token list is emptied (caused by switch to fips mode)
...
git-svn-id: svn://10.0.0.236/trunk@112585 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 17:39:29 +00:00
ian.mcgreer%sun.com
93942f465e
memory leak fixes
...
git-svn-id: svn://10.0.0.236/trunk@111574 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 15:37:42 +00:00
ian.mcgreer%sun.com
ecb8b3c386
detect hash collisions so that the caller can handle it
...
git-svn-id: svn://10.0.0.236/trunk@110397 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 20:23:07 +00:00
ian.mcgreer%sun.com
eaa53f5d5a
original intent for concurrent list iteration, fixes bug 114727. a better long-term solution is needing for traversing the high-level token lists.
...
git-svn-id: svn://10.0.0.236/trunk@110318 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 00:07:25 +00:00
ian.mcgreer%sun.com
70255b5440
check in error const
...
git-svn-id: svn://10.0.0.236/trunk@110164 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 19:14:32 +00:00
jpierre%netscape.com
f4059b3f77
Patch for 107323 - fix compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@109864 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:25:32 +00:00
ian.mcgreer%sun.com
54677fad6a
fix memory leaks
...
git-svn-id: svn://10.0.0.236/trunk@109238 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 19:34:08 +00:00
ian.mcgreer%sun.com
233b7897cf
land changes for handling temporary and cached certs in 3.4
...
* 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
git-svn-id: svn://10.0.0.236/trunk@109138 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 16:23:51 +00:00
ian.mcgreer%sun.com
5a3e326b12
fix unneeded lock release in list iteration
...
git-svn-id: svn://10.0.0.236/trunk@108317 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 19:36:43 +00:00
relyea%netscape.com
162c530b16
Land BOB_WORK_BRANCH unto the tip.
...
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.
git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
ian.mcgreer%sun.com
40e21c8720
add ability to notify user that chain is incomplete
...
git-svn-id: svn://10.0.0.236/trunk@105630 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 15:48:09 +00:00
ian.mcgreer%sun.com
4577fd5dbb
fix iteration for empty list
...
git-svn-id: svn://10.0.0.236/trunk@105627 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:37:48 +00:00
ian.mcgreer%sun.com
1c39fe046e
put the sort function in the header
...
git-svn-id: svn://10.0.0.236/trunk@105419 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 17:13:31 +00:00
ian.mcgreer%sun.com
2c439f174f
add ordering capability to the list
...
git-svn-id: svn://10.0.0.236/trunk@105418 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 16:50:01 +00:00
ian.mcgreer%sun.com
b65474fbb3
implement hash keyed by NSSItem; change list method names to be like hash method names; fix 99214, arena mark lists broken
...
git-svn-id: svn://10.0.0.236/trunk@104806 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:26:02 +00:00