Files
Seth Hillbrand b791e5f828 Altium: preserve trailing null bytes in binary property records
ReadProperties() unconditionally stripped a trailing 0x00 from all
records. This is correct for text records where 0x00 is a string
terminator, but binary (compressed) records can legitimately end
with 0x00. Stripping the byte truncated the zlib payload, causing
ReadFullPascalString() to throw out_of_range on certain .SchLib
files.

Only strip the null byte for non-binary records.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/23013
2026-02-11 11:45:28 -08:00
..