svg: fix invalid pointer comparisons in style parsing
A style declaration with a missing colon led to relational comparisons against nullptr in xmlParseW3CAttribute() and svgUtilUnskipWhiteSpace(), which is undefined behavior and aborts under the GCC/Clang pointer-compare sanitizer. Replace missing separators with the end pointer so every comparison stays within the buffer, and skip the backward whitespace scan for an empty range. issue: https://github.com/thorvg/thorvg/issues/4641
J
JunsuChoi committed
3b5de7e3de68c13ad35a112642b4fbca8b1e9021
Parent: 1a646be
Committed by Hermet Park <hermetpark@gmail.com>
on 8/24/2026, 8:38:16 AM