Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mozilla-nspr for openSUSE:Factory 
checked in at 2022-08-19 17:52:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozilla-nspr (Old)
 and      /work/SRC/openSUSE:Factory/.mozilla-nspr.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozilla-nspr"

Fri Aug 19 17:52:59 2022 rev:84 rq:997589 version:4.34.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozilla-nspr/mozilla-nspr.changes        
2022-06-01 17:33:48.762680589 +0200
+++ /work/SRC/openSUSE:Factory/.mozilla-nspr.new.2083/mozilla-nspr.changes      
2022-08-19 17:53:52.623773234 +0200
@@ -1,0 +2,6 @@
+Wed Aug 17 11:18:23 UTC 2022 - Wolfgang Rosenauer <w...@rosenauer.org>
+
+- update to version 4.34.1
+  * add file descriptor sanity checks in the NSPR poll function
+
+-------------------------------------------------------------------

Old:
----
  nspr-4.34.tar.gz

New:
----
  nspr-4.34.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mozilla-nspr.spec ++++++
--- /var/tmp/diff_new_pack.3IPJuj/_old  2022-08-19 17:53:53.391774844 +0200
+++ /var/tmp/diff_new_pack.3IPJuj/_new  2022-08-19 17:53:53.395774853 +0200
@@ -20,7 +20,7 @@
 %define useccache     1
 
 Name:           mozilla-nspr
-Version:        4.34
+Version:        4.34.1
 Release:        0
 Summary:        Netscape Portable Runtime
 License:        MPL-2.0
@@ -115,9 +115,6 @@
 fi
 echo "test suite completed"
 
-%clean
-rm -rf %{buildroot}
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

++++++ nspr-4.34.tar.gz -> nspr-4.34.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/.hg_archival.txt 
new/nspr-4.34.1/nspr/.hg_archival.txt
--- old/nspr-4.34/nspr/.hg_archival.txt 2022-05-25 23:34:56.000000000 +0200
+++ new/nspr-4.34.1/nspr/.hg_archival.txt       2022-08-04 22:24:12.000000000 
+0200
@@ -1,4 +1,4 @@
 repo: a4b34919bf34db2ee22acbbc305693c8980b6dc6
-node: e7a3ef720ee023dce074f57820a627c6c87a7bb5
-branch: default
-tag: NSPR_4_34_RTM
+node: 8ade27144af69b35b1aef37e3f9e1353258b7d70
+branch: NSPR_4_34_BRANCH
+tag: NSPR_4_34_1_RTM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/configure 
new/nspr-4.34.1/nspr/configure
--- old/nspr-4.34/nspr/configure        2022-05-25 23:34:56.000000000 +0200
+++ new/nspr-4.34.1/nspr/configure      2022-08-04 22:24:12.000000000 +0200
@@ -2487,7 +2487,7 @@
 
 MOD_MAJOR_VERSION=4
 MOD_MINOR_VERSION=34
-MOD_PATCH_VERSION=0
+MOD_PATCH_VERSION=1
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
 USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/configure.in 
new/nspr-4.34.1/nspr/configure.in
--- old/nspr-4.34/nspr/configure.in     2022-05-25 23:34:56.000000000 +0200
+++ new/nspr-4.34.1/nspr/configure.in   2022-08-04 22:24:12.000000000 +0200
@@ -16,7 +16,7 @@
 dnl ========================================================
 MOD_MAJOR_VERSION=4
 MOD_MINOR_VERSION=34
-MOD_PATCH_VERSION=0
+MOD_PATCH_VERSION=1
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
 USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/pr/include/prinit.h 
new/nspr-4.34.1/nspr/pr/include/prinit.h
--- old/nspr-4.34/nspr/pr/include/prinit.h      2022-05-25 23:34:56.000000000 
+0200
+++ new/nspr-4.34.1/nspr/pr/include/prinit.h    2022-08-04 22:24:12.000000000 
+0200
@@ -31,10 +31,10 @@
 ** The format of the version string is
 **     "<major version>.<minor version>[.<patch level>] [<Beta>]"
 */
-#define PR_VERSION  "4.34"
+#define PR_VERSION  "4.34.1"
 #define PR_VMAJOR   4
 #define PR_VMINOR   34
-#define PR_VPATCH   0
+#define PR_VPATCH   1
 #define PR_BETA     PR_FALSE
 
 /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/pr/src/md/unix/unix.c 
new/nspr-4.34.1/nspr/pr/src/md/unix/unix.c
--- old/nspr-4.34/nspr/pr/src/md/unix/unix.c    2022-05-25 23:34:56.000000000 
+0200
+++ new/nspr-4.34.1/nspr/pr/src/md/unix/unix.c  2022-08-04 22:24:12.000000000 
+0200
@@ -3641,7 +3641,8 @@
         int events = filedes[i].events;
         PRBool fdHasEvent = PR_FALSE;
 
-        if (osfd < 0) {
+        PR_ASSERT(osfd < FD_SETSIZE);
+        if (osfd < 0 || osfd >= FD_SETSIZE) {
             continue;  /* Skip this osfd. */
         }
 
@@ -3686,6 +3687,10 @@
             if (filedes[i].fd < 0) {
                 continue;
             }
+            if (filedes[i].fd >= FD_SETSIZE) {
+                filedes[i].revents |= POLLNVAL;
+                continue;
+            }
             if (FD_ISSET(filedes[i].fd, &rd)) {
                 if (filedes[i].events & POLLIN) {
                     filedes[i].revents |= POLLIN;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34/nspr/pr/tests/vercheck.c 
new/nspr-4.34.1/nspr/pr/tests/vercheck.c
--- old/nspr-4.34/nspr/pr/tests/vercheck.c      2022-05-25 23:34:56.000000000 
+0200
+++ new/nspr-4.34.1/nspr/pr/tests/vercheck.c    2022-08-04 22:24:12.000000000 
+0200
@@ -42,7 +42,7 @@
     "4.10.10", "4.11", "4.12", "4.13", "4.14", "4.15",
     "4.16", "4.17", "4.18", "4.19", "4.20", "4.21", "4.22",
     "4.23", "4.24", "4.25", "4,26", "4.27", "4.28", "4.29",
-    "4.30", "4.31", "4.32", "4.33",
+    "4.30", "4.31", "4.32", "4.33", "4.34",
     PR_VERSION
 };
 
@@ -58,7 +58,7 @@
     "3.0", "3.0.1",
     "3.1", "3.1.1", "3.1.2", "3.1.3",
     "3.5", "3.5.1",
-    "4.34.1",
+    "4.34.2",
     "4.35", "4.35.1",
     "10.0", "11.1", "12.14.20"
 };

Reply via email to