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
..
2026-03-14 14:02:13 +01:00
2026-03-14 14:02:13 +01:00
2026-03-01 14:35:36 -08:00
2026-03-26 15:03:48 +01:00
2026-03-15 01:23:11 +01:00
2026-03-08 15:27:15 -07:00
2026-03-15 01:23:11 +01:00
2026-03-01 14:35:36 -08:00
2026-04-18 19:53:40 -06:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-08 15:27:15 -07:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-14 14:02:14 +01:00
2026-03-08 15:27:15 -07:00
2026-03-08 15:27:15 -07:00
2026-04-14 03:18:21 -07:00
2026-03-19 20:16:57 +01:00
2026-03-14 13:45:55 +01:00
2026-03-20 18:50:47 +01:00
2026-03-14 13:45:55 +01:00
2026-04-14 03:18:21 -07:00
2026-04-14 03:18:21 -07:00
2026-03-14 13:45:55 +01:00
2026-04-14 03:18:21 -07:00
2026-04-14 03:18:21 -07:00
2026-03-01 14:35:36 -08:00
2026-05-01 13:04:08 -07:00
2026-03-01 14:35:36 -08:00
2026-03-14 13:45:55 +01:00
2026-04-14 03:18:21 -07:00
2026-03-14 13:45:55 +01:00
2026-04-14 03:18:21 -07:00
2026-03-08 15:27:15 -07:00
2026-04-30 22:19:19 -07:00
2026-03-01 14:35:36 -08:00
2026-03-14 13:45:55 +01:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-04-14 03:18:21 -07:00
2026-03-01 14:35:36 -08:00
2026-03-15 01:23:11 +01:00
2026-04-08 15:39:42 -04:00
2026-03-15 01:23:11 +01:00
2026-03-14 13:45:55 +01:00
2026-03-01 14:35:36 -08:00
2026-04-14 03:18:21 -07:00
2026-03-15 01:23:11 +01:00
2026-03-15 01:23:11 +01:00
2026-03-01 14:35:36 -08:00
2026-05-24 10:43:00 -06:00
2026-03-14 13:45:55 +01:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-08 15:27:15 -07:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-14 14:03:10 +01:00
2026-04-30 22:19:19 -07:00
2026-03-15 01:23:11 +01:00
2026-03-15 01:23:11 +01:00
2026-03-01 14:35:36 -08:00
2026-03-01 14:35:36 -08:00
2026-03-16 11:48:45 -04:00
2026-03-01 14:35:36 -08:00
2026-03-14 13:45:55 +01:00
2026-03-01 14:35:36 -08:00