MantisBT - LibParserUtils
View Issue Details
0002901LibParserUtils[All Projects] Generalpublic2026-08-14 01:072026-08-14 01:09
ReporterIsmael Luceno 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
Summary0002901: Crashes due to divergent inline function
DescriptionThis seems to be the same issue as 0002871.

I caught this bug after updating libparserutils 0.2.5 while continuing using a libcss compiled against 0.2.4; it caused netsurf to crash immediately after launching.

In libparserutils 0.2.5 a new member was added to the top of struct parserutils_buffer, shifting all fields, but because at least parserutils_inputstream_peek is inline in the header, it gets stale; it's dereferencing .alloc while wanting .data, and faults while accessing the end of the buffer crossing a page boundary.

This is serious ABI breakage, major-version should be updated.
Steps To ReproduceBuild libcss against libparserutils 0.2.4 then upgarde to libparserutils 0.2.5.
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2026-08-14 01:07Ismael LucenoNew Issue