MantisBT - LibParserUtils | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002901 | LibParserUtils | [All Projects] General | public | 2026-08-14 01:07 | 2026-08-14 01:09 |
| Reporter | Ismael Luceno | ||||
|---|---|---|---|---|---|
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Fixed in CI build # | |||||
| Reported in CI build # | |||||
| Summary | 0002901: Crashes due to divergent inline function | ||||
| Description | This 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 Reproduce | Build libcss against libparserutils 0.2.4 then upgarde to libparserutils 0.2.5. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| There are no notes attached to this issue. |
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2026-08-14 01:07 | Ismael Luceno | New Issue | |||