Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tinyxml for openSUSE:Factory checked 
in at 2023-12-17 21:32:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tinyxml (Old)
 and      /work/SRC/openSUSE:Factory/.tinyxml.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tinyxml"

Sun Dec 17 21:32:39 2023 rev:16 rq:1133617 version:2.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/tinyxml/tinyxml.changes  2021-10-27 
22:21:36.311210947 +0200
+++ /work/SRC/openSUSE:Factory/.tinyxml.new.25432/tinyxml.changes       
2023-12-17 21:35:03.331537362 +0100
@@ -1,0 +2,7 @@
+Fri Dec 15 15:02:44 CET 2023 - [email protected]
+
+- avoid assertion on certain malformed input including null-byte
+  (bsc#1218040)
+- added tinyxml-null-byte-assert.patch
+
+-------------------------------------------------------------------
@@ -118 +124,0 @@
-

New:
----
  tinyxml-null-byte-assert.patch

BETA DEBUG BEGIN:
  New:  (bsc#1218040)
- added tinyxml-null-byte-assert.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ tinyxml.spec ++++++
--- /var/tmp/diff_new_pack.lOcMfi/_old  2023-12-17 21:35:03.815554948 +0100
+++ /var/tmp/diff_new_pack.lOcMfi/_new  2023-12-17 21:35:03.819555093 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tinyxml
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Patch0:         tinyxml-c_headers.patch
 Patch1:         tinyxml-entity.patch
 Patch2:         tinyxml-2.62-fix-infinite-loop.patch
+Patch3:         tinyxml-null-byte-assert.patch
 URL:            http://sourceforge.net/projects/tinyxml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
@@ -87,6 +88,7 @@
 %patch0
 %patch1
 %patch2 -p1
+%patch3 -p1
 mkdir -p m4
 cp %{S:1} %{S:2} %{S:3} %{S:4} .
 cp %{S:5} docs/Makefile.am

++++++ tinyxml-null-byte-assert.patch ++++++
--- a/tinyxmlparser.cpp 2011-05-15 04:24:57.000000000 +0200
+++ b/tinyxmlparser.cpp 2023-12-15 12:06:34.919095166 +0100
@@ -1600,6 +1600,9 @@
                }
 
                p = SkipWhiteSpace( p, _encoding );
+               if (!p || !*p)
+                       break;
+
                if ( StringEqual( p, "version", true, _encoding ) )
                {
                        TiXmlAttribute attrib;

Reply via email to