diff options
author | julien.pierre.bugs%sun.com <devnull@localhost> | 2005-03-03 04:07:26 +0000 |
---|---|---|
committer | julien.pierre.bugs%sun.com <devnull@localhost> | 2005-03-03 04:07:26 +0000 |
commit | 20132aac7904cc5c2eaa81ed61af6dfed40734ba (patch) | |
tree | 8e3c63a2db425bf6e127252f724086b0051089c5 /security/nss/lib/certdb | |
parent | 9f512e22721f6680531268a1658f1c6e7c703f65 (diff) | |
download | nss-hg-20132aac7904cc5c2eaa81ed61af6dfed40734ba.tar.gz |
Fix crash in CRL sorting callbacks from qsort.
Diffstat (limited to 'security/nss/lib/certdb')
-rw-r--r-- | security/nss/lib/certdb/crl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/lib/certdb/crl.c b/security/nss/lib/certdb/crl.c index 11b9eaddd..f0e0edaa5 100644 --- a/security/nss/lib/certdb/crl.c +++ b/security/nss/lib/certdb/crl.c @@ -1936,8 +1936,8 @@ static int SortCRLsByThisUpdate(const void* arg1, const void* arg2) SECStatus rv = SECSuccess; CachedCrl* a, *b; - a = (CachedCrl*) arg1; - b = (CachedCrl*) arg2; + a = *(CachedCrl**) arg1; + b = *(CachedCrl**) arg2; if (!a || !b) { @@ -1982,8 +1982,8 @@ static int SortImperfectCRLs(const void* arg1, const void* arg2) { CachedCrl* a, *b; - a = (CachedCrl*) arg1; - b = (CachedCrl*) arg2; + a = *(CachedCrl**) arg1; + b = *(CachedCrl**) arg2; if (!a || !b) { |