From c0e27d86e908bc5093b0553aeaaa4b47f68efb79 Mon Sep 17 00:00:00 2001 From: Elio Maldonado Date: Tue, 9 Jun 2009 05:12:00 +0000 Subject: [PATCH] add upstream patch to fix bug 502133 --- nss-stubs-bug502133.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nss-stubs-bug502133.patch diff --git a/nss-stubs-bug502133.patch b/nss-stubs-bug502133.patch new file mode 100644 index 0000000..a0f1503 --- /dev/null +++ b/nss-stubs-bug502133.patch @@ -0,0 +1,23 @@ +diff -rupN nss-3.12.3.99.3-orig/mozilla/security/nss/lib/freebl/stubs.c nss-3.12.3.99.3/mozilla/security/nss/lib/freebl/stubs.c +--- ./mozilla/security/nss/lib/freebl/stubs.c 2009-03-28 19:21:50.000000000 -0700 ++++ ./mozilla/security/nss/lib/freebl/stubs.c 2009-06-08 20:37:20.000000000 -0700 +@@ -558,8 +558,8 @@ FREEBL_InitStubs() + return SECFailure; + } + rv = freebl_InitNSPR(nspr); +- freebl_releaseLibrary(nspr); + if (rv != SECSuccess) { ++ freebl_releaseLibrary(nspr); + return rv; + } + } +@@ -570,8 +570,8 @@ FREEBL_InitStubs() + return SECFailure; + } + rv = freebl_InitNSSUtil(nssutil); +- freebl_releaseLibrary(nssutil); + if (rv != SECSuccess) { ++ freebl_releaseLibrary(nssutil); + return rv; + } + }