Commit Graph
69 Commits
Author SHA1 Message Date
Honza Bambas 8471a3fa58 Bug 575950 - (Fennec) SSL certificate is not confirmed for secure webpages, r=kaie+bz, a=blocking-fennec:2.0.b2+ 2010-10-26 13:57:18 +02:00
704ea09ade Bug 559333 useless signed check of PRUint32 index in nsCertTree::DeleteEntryObject
r=kaie
2010-06-16 18:54:22 +02:00
Neil Deakin 020617a25b Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Kai Engert 8cbbdfb408 Bug 460829, Temporary SSL server exceptions must not use permanent cert import
r=rrelyea
2008-10-23 04:16:06 +02:00
f6e3ad1f2f Bug 413909: nsCertOverrideService IDN handling is broken, and its port handling is also quite cumbersome, patch by Honza Bambas <[email protected]>, r=kaie, a=shaver 2008-04-22 13:03:20 -07:00
2fd8201a2a Bug 401906, nsCertTreeDispInfo leaks, r=kengert, a=dsicore 2007-11-30 11:55:31 -08:00
587a65c22a Bug 399696, allow temporary certificate exceptions r=rrelyeea, a=vladimir 2007-11-19 07:32:43 -08:00
e1ac15a49c relanding Bug 399022, Leak-prone code in nsCertTree r=bzbarsky, a=sayrer 2007-10-19 12:12:07 -07:00
d83cb65017 backing out all my patches from yesterday, 399043 398549 399022 399045 345665 2007-10-16 17:18:55 -07:00
5d9095d66d Bug 399022, Leak-prone code in nsCertTree r=bzbarsky, a=sayrer 2007-10-15 17:37:03 -07:00
357b5e200a Bug 327181, Improve error reporting for invalid-certificate errors (error page for https, or combined dialog) Code in mozilla/security/manager: r=rrelyea Code elsewhere: r=mconnor, sr=dveditz blocking1.9=mconnor 2007-10-03 04:47:26 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
e6a0014cea Bug 375759, Cert manager showing date strings for "Your Certificates" namesFollow up checkin to improve memory use.r=kengert 2007-06-12 19:46:07 -07:00
630211e229 Bug 375759, Cert manager showing date strings for "Your Certificates" namesPatch contributed by Kaspar Brandr=kengert 2007-06-10 16:24:15 -07:00
ee5b11b62b Bug 110161. Code related to the plan to enable OCSP by default.r=rrelyea, toolkit r=mconnor 2007-05-30 16:13:28 -07:00
0f08b75950 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
[email protected] e769f45500 Bug 352867, Cert Manager shows incorrect cert names if any twisty is closed
r=rrelyea
2006-10-02 20:11:49 +00:00
[email protected] db7e8da6ae Bug 352401, Cert Manager: If issuer org is empty, fall back to display common name
r=rrelyea
2006-10-02 20:06:27 +00:00
[email protected] 86a3ecbe5c Bug 20232 Replace T::GetIID() (etc.) with NS_GET_IID(T)
r=bsmedberg sr=biesi
2006-09-17 00:25:25 +00:00
[email protected] e44e2acefd Bug 20232 Replace T::GetIID() (etc.) with NS_GET_IID(T)
r=bsmedberg sr=biesi
2006-09-17 00:04:39 +00:00
[email protected] 34e0c2a018 Bug 86988, Sorting in certificate manager should be case insensitive
r=rrelyea
2006-08-24 18:06:43 +00:00
[email protected] d01057539c Fix for bug 296040. Cell-based selection in trees
r=Neil Deakin, sr=Neil Rashbrook, sponsored by BEToptions
2006-06-06 20:05:13 +00:00
[email protected] a6fca56223 Bug 333689 [@ nsCertTree::ToggleOpenState]
patch by [email protected] r=kaie sr=neil
2006-05-11 13:18:15 +00:00
[email protected] e590887702 Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
[email protected] aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
[email protected] ff403a33f7 bug 316710, Land some generic crypto backend code, mostly cleanup, some small enhancements
Patch by Bob Relyea, r=kengert
2006-01-10 02:07:47 +00:00
[email protected] a9f47e0800 Bug 225034 Certificate Manager Crashes Mozilla [@ nsCertTree::CmpByCrit]
sr=brendan r=wtc a=dbaron

The issue is the use of the PL_DHash* functions. It's possible that a given call
to PL_DHashOperate which adds a new entry may cause the hash table to expand,
and all the existing entries to be reallocated. PL_DHash does this by allocating
new memory, then copying the entries.

getCacheEntry() returns one of these hash entries. CmpBy() makes two consecutive
calls to getCacheEntry, then uses the returned entries for it's comparisons. If
the second entry call causes a new entry to be added to the table, and causes
the hash table to expand, the pointer to the first entry we retrieved will point
to freed memory.

The fix is to make the usable entry a pointer in the hashtable entry, and return
that pointer. When the hashtable rebuilds it's entries, the pointer will be
copied to the new entry and not be disturbed.
2005-08-15 21:23:51 +00:00
[email protected] acff60ca96 Bug 225034 Certificate Manager Crashes Mozilla [@ nsCertTree::CmpByCrit]
patch by kaie r=timeless sr=darin a=shaver
2005-06-16 17:27:17 +00:00
[email protected] 1b1eca4447 Clean up loop a little. b=225034 r=kaie sr=roc 2005-02-23 20:09:52 +00:00
[email protected] ab0b8c26a4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
[email protected] a8e80198d3 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
[email protected] 8ae652ebd3 Clean up string stuff: bug 232812 r=ssaux sr=jag 2004-02-26 04:07:23 +00:00
[email protected] f27230a0fc Bug 220106 @mozilla.org/security/nsCertTree;1 doesn't null check mTreeArray
r=kaie sr=bz
2003-10-16 15:33:56 +00:00
[email protected] 40ea9d863f Bug 211291 void nsCertTree::InitCompareHash doesn't check the return value of PL_DHashTableInit
r=kaie sr=bz
2003-09-11 01:59:21 +00:00
[email protected] fe6d44d7f3 Bug 211695 Fix bugs in nsCertTree.cpp r=varga sr=alecf moa=kaie a=asa 2003-08-12 11:20:50 +00:00
[email protected] 365c98466c Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
[email protected] fa484c9763 b=189205 Implement early shutdown of NSS resources
r=javi sr=darin
2003-01-18 14:03:00 +00:00
[email protected] e282c2ebd2 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:45:23 +00:00
[email protected] 98721c6927 b=168450 Cleanup some PSM code and add JavaDoc documentation to all freeze candidates
r=javi sr=alecf
2002-11-14 00:50:02 +00:00
[email protected] 804b9e9e4a b=170562 Some CA's are blank lines
r=javi sr=alecf
2002-10-02 18:54:21 +00:00
[email protected] 6dc432268d b=170438 Crash opening cert manager
r=javi sr=alecf
2002-09-24 03:00:37 +00:00
[email protected] 3babe964ab b=169932 Replace wstring with AString in IDL
r=darin sr=alecf
2002-09-23 20:17:16 +00:00
[email protected] 3ec4355c4b b=168448 PSM embedding freeze/ step 1/ move stuff & change data types
r=javi sr=alecf
2002-09-17 18:51:22 +00:00
[email protected] 1498b546dd b=121906 Other People's certs not sorted
r=javi sr=jag
2002-08-28 13:49:52 +00:00
[email protected] bcaf88d414 b=161915 Combine verified and purposes column in certificate manager
r=javi sr=jag
2002-08-26 20:16:25 +00:00
[email protected] 3d41ddab07 b=157927 Fix memory leaks in nsNSSCertificate.cpp, fix some compiler warnings, do some cleanup.
r=javi sr=jag
2002-08-23 10:40:27 +00:00
[email protected] 14907ffe79 b=124037 Decrease cert manager loading time.
r=rangansen/jkeiser sr=alecf
2002-08-06 13:25:23 +00:00
[email protected] d01597f65a b=74339 Support import of SSL, S/MIME, and CA certs
r=javi sr=alecf
2002-08-06 13:11:15 +00:00
[email protected] 56c82d85ca b=129067 Deleted certs still appear in Cert Manager.
r=javi sr=alecf
2002-05-16 04:03:19 +00:00
[email protected] 2846108e55 b=129067 Backing out unreliable patch.
See bugzilla for details.
Better patch will be checked in a minute.
2002-05-16 03:59:36 +00:00