From 37c40ebd3db65bdc34bd7cdeb29181b98db18b40 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 14 Feb 2020 11:42:12 +0100 Subject: [PATCH] Update nss-libpkix-maybe-uninitialized.patch --- nss-libpkix-maybe-uninitialized.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nss-libpkix-maybe-uninitialized.patch b/nss-libpkix-maybe-uninitialized.patch index 8838c0d..27ee375 100644 --- a/nss-libpkix-maybe-uninitialized.patch +++ b/nss-libpkix-maybe-uninitialized.patch @@ -20,3 +20,25 @@ diff --git a/lib/libpkix/pkix/util/pkix_list.c b/lib/libpkix/pkix/util/pkix_list PKIX_ERROR(PKIX_OPERATIONNOTPERMITTEDONIMMUTABLELIST); } +diff --git a/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c b/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c +--- a/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c ++++ b/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c +@@ -102,17 +102,17 @@ cleanup: + */ + static PKIX_Error * + pkix_pl_OID_Equals( + PKIX_PL_Object *first, + PKIX_PL_Object *second, + PKIX_Boolean *pResult, + void *plContext) + { +- PKIX_Int32 cmpResult; ++ PKIX_Int32 cmpResult = 0; + + PKIX_ENTER(OID, "pkix_pl_OID_Equals"); + PKIX_NULLCHECK_THREE(first, second, pResult); + + PKIX_CHECK(pkix_pl_OID_Comparator + (first, second, &cmpResult, plContext), + PKIX_OIDCOMPARATORFAILED); +