Commit Graph

3 Commits

Author SHA1 Message Date
Pieter-Jan Briers a6376368ee String safety (#1548)
* Array size UB fixes

* Fix ShieldD

* Remove (almost) all unsafe strcpy calls

Bunch of macros. C arrays are easy enough and just need a different call. For various cases where a char* is passed around bare, I've made a TEXT_SPAN macro that can store a length too for bounds checking.

* Move crash handling in safe string operations to separate TU

* strcat safe version

* sprintf made safe too

* Fix compile
2026-05-24 10:43:00 -06:00
Max Roncace ef1cfc5d28 Merge remote-tracking branch 'decomp/main' 2026-03-27 02:02:24 -04:00
Roman Sandu b0cd70ce74 JAHostIO and friends (#3131) 2026-03-26 18:54:07 -07:00