You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault (access null pointer) in ext/dom/html5_serializer.c #15570
/php-src/ext/dom/html5_serializer.c:134:20: runtime error: member access within null pointer of type 'struct _xmlNode'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/ext/dom/html5_serializer.c:134:20 in
Activity
ndossche commentedon Aug 24, 2024
Problem is that a text node does not necessarily have a parent if it's the outer node, and this is not checked, easily fixable.
Fix phpGH-15570: Segmentation fault (access null pointer) in ext/dom/…
Fix phpGH-15570: Segmentation fault (access null pointer) in ext/dom/…