raptor/ubsan.patch
Dirk Mueller d70d08b03e - add raptor-CVE-2024-57823.patch (bsc#1235673, CVE-2024-57823)
* Added patch raptor-libxml2-2.11-support.patch
  * Added full parsing and serializing support for Turtle Terse RDF
  * Fixed reported issues: 0000499, 0000508, 0000520, 0000521
  * Multiple minor fixes and improvements
  * Add a few sequence utility methods for sort, reverse and
  * All parsers and serializers use the W3C Format URIs as their
- Do not require gtk-doc to build
	* Added two new JSON serializers: resource-centric 'json'
- missing pkg-config in buildrequires

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/raptor?expand=0&rev=52
2025-01-13 10:58:03 +00:00

14 lines
461 B
Diff

Index: src/raptor_rfc2396.c
===================================================================
--- src/raptor_rfc2396.c.orig
+++ src/raptor_rfc2396.c
@@ -386,7 +386,7 @@ raptor_uri_normalize_path(unsigned char*
}
- if(prev && s == (cur+2) && cur[0] == '.' && cur[1] == '.') {
+ if(prev && cur && s == (cur+2) && cur[0] == '.' && cur[1] == '.') {
/* Remove <component>/.. at the end of the path */
*prev = '\0';
path_len -= (s-prev);