rpms/nss/devel nss-pem-bug483855.patch,NONE,1.1 nss.spec,1.59,1.60

Kai Engert kengert at fedoraproject.org
Tue Mar 31 23:05:43 UTC 2009


Author: kengert

Update of /cvs/extras/rpms/nss/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18139

Modified Files:
	nss.spec 
Added Files:
	nss-pem-bug483855.patch 
Log Message:
* Tue Mar 31 2009 Kai Engert <kaie at redhat.com> - 3.12.2.99.3-3
- add upstream patch to fix bug 483855


nss-pem-bug483855.patch:

--- NEW FILE nss-pem-bug483855.patch ---
diff -ruNp mozilla.orig/security/nss/lib/ckfw/pem/pobject.c mozilla/security/nss/lib/ckfw/pem/pobject.c
--- mozilla.orig/security/nss/lib/ckfw/pem/pobject.c	2009-02-28 15:03:36.719964516 +0100
+++ mozilla/security/nss/lib/ckfw/pem/pobject.c	2009-02-28 15:03:55.964074075 +0100
@@ -987,10 +987,7 @@ pem_CreateObject
     char *ivstring = NULL;
 
     count = pem_nobjs;
-    if (count > 0)
-        size = ((count / PEM_ITEM_CHUNK) + 1) * PEM_ITEM_CHUNK;
-    else
-        size = 0;
+    size = (count / PEM_ITEM_CHUNK) * PEM_ITEM_CHUNK;
 
     /*
      * only create token objects


Index: nss.spec
===================================================================
RCS file: /cvs/extras/rpms/nss/devel/nss.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- nss.spec	31 Mar 2009 21:41:15 -0000	1.59
+++ nss.spec	31 Mar 2009 23:05:13 -0000	1.60
@@ -4,7 +4,7 @@
 Summary:          Network Security Services
 Name:             nss
 Version:          3.12.2.99.3
-Release:          2%{?dist}
+Release:          3%{?dist}
 License:          MPLv1.1 or GPLv2+ or LGPLv2+
 URL:              http://www.mozilla.org/projects/security/pki/nss/
 Group:            System Environment/Libraries
@@ -31,6 +31,7 @@
 
 Patch1:           nss-no-rpath.patch
 Patch2:           nss-nolocalsql.patch
+Patch4:           nss-pem-bug483855.patch
 Patch5:           nss-pem-bug429175.patch
 Patch6:           nss-enable-pem.patch
 
@@ -86,6 +87,7 @@
 
 %patch1 -p0
 %patch2 -p0
+%patch4 -p0 -b .483855
 %patch5 -p0 -b .429175
 %patch6 -p0 -b .libpem
 
@@ -448,6 +450,8 @@
 
 
 %changelog
+* Tue Mar 31 2009 Kai Engert <kaie at redhat.com> - 3.12.2.99.3-3
+- add upstream patch to fix bug 483855
 * Tue Mar 31 2009 Kai Engert <kaie at redhat.com> - 3.12.2.99.3-2
 - build nspr-less freebl library
 * Tue Mar 31 2009 Kai Engert <kaie at redhat.com> - 3.12.2.99.3-1




More information about the fedora-extras-commits mailing list