add upstream patch to fix bug 502133
This commit is contained in:
parent
5f40643e20
commit
c0e27d86e9
23
nss-stubs-bug502133.patch
Normal file
23
nss-stubs-bug502133.patch
Normal file
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user