File tinyxml-null-byte-assert.patch of Package tinyxml

--- 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;
openSUSE Build Service is sponsored by