Files
cadcraft/crates
vangel76andClaude Sonnet 5.5 043073808f fix(dxf): hostile-input hardening in the DXF reader and writer (#1025)
Binary reals are finite-filtered like ASCII ones; ASCII reads a UTF-8 BOM and
CR-only/mixed line ends (and the tag-count precheck counts the same lines);
text is decoded per line/string, valid UTF-8 first, else the code page, in both
readers; trailing spaces no longer hide SECTION/ENDSEC/EOF; integer groups
reject inf/NaN and clamp to their width; hex groups pad an odd digit and drop
non-hex characters in reader and writers; the ASCII writer sanitises hex and
splits it at 254 digits; write_binary wraps in-range unsigned 16/32-bit values.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 21:14:29 +02:00
..
2026-10-13 06:58:50 -04:00