mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
The Linux arm64 production build (gcc -O2 -Werror) stopped on maybe-uninitialized in the TrueType cmap readers and the cross-reference stream rows: ttf_fmt4 and ttf_fmt12 ignored the results of rd16/rd32 after a bounds check that makes every read succeed, and xref_rows read pairs[] that only the default /Index branch fills. The ASan test build did not warn. The reads now fail the map on a failed read (the prototype's short-slice rule; never taken, the bounds check stands before them), and pairs[] starts at zero where it is declared. Text output is unchanged. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>