diff options
author | nelson%bolyard.com <devnull@localhost> | 2010-03-28 18:34:29 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2010-03-28 18:34:29 +0000 |
commit | 9a678c4e73a1a0892249b4c1922e77afa7c28cea (patch) | |
tree | 8728b48b7cdba73be1b469380f3f8c40caa4a914 /security/nss/lib/libpkix | |
parent | 5989be2b7d7019a67ff8afda274b3d6d2023b6d7 (diff) | |
download | nss-hg-9a678c4e73a1a0892249b4c1922e77afa7c28cea.tar.gz |
Bug 550929: pkix_PolicyChecker_MakeMutableCopy calls PKIX_DECREF(object)
uninitialized if PKIX_CHECK(PKIX_List_Create(...)...) bails
Patch contributed by timeless <timeless@mozdev.org>, r=alexei.volkov
Diffstat (limited to 'security/nss/lib/libpkix')
-rwxr-xr-x | security/nss/lib/libpkix/pkix/checker/pkix_policychecker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/libpkix/pkix/checker/pkix_policychecker.c b/security/nss/lib/libpkix/pkix/checker/pkix_policychecker.c index 162f4763d..2de05ab30 100755 --- a/security/nss/lib/libpkix/pkix/checker/pkix_policychecker.c +++ b/security/nss/lib/libpkix/pkix/checker/pkix_policychecker.c @@ -872,7 +872,7 @@ pkix_PolicyChecker_MakeMutableCopy( PKIX_List *newList = NULL; PKIX_UInt32 listLen = 0; PKIX_UInt32 listIx = 0; - PKIX_PL_Object *object; + PKIX_PL_Object *object = NULL; PKIX_ENTER(CERTCHAINCHECKER, "pkix_PolicyChecker_MakeMutableCopy"); PKIX_NULLCHECK_TWO(list, pMutableCopy); |