Files
dusklight/src/f_op
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
..
2025-11-30 15:23:42 -07:00
2025-12-30 14:22:38 +02:00
2026-05-24 10:43:00 -06:00
2025-12-26 13:17:51 -08:00
2026-05-24 10:43:00 -06:00
2025-12-26 13:17:51 -08:00
2026-03-12 04:01:03 -07:00
2025-12-30 14:22:38 +02:00
2025-11-30 15:23:42 -07:00
2026-05-24 10:43:00 -06:00
2025-12-26 13:17:51 -08:00
2025-12-26 13:17:51 -08:00
2026-05-11 22:20:53 -07:00
2025-12-30 14:22:38 +02:00
2025-12-30 14:22:38 +02:00
2026-03-08 15:27:15 -07:00
2025-12-26 13:17:51 -08:00
2026-04-26 16:51:10 -07:00
2025-11-30 15:23:42 -07:00
2026-01-25 21:20:02 -08:00
2025-12-26 13:17:51 -08:00