Use safe string copies in d_save.cpp (#1232)

* Use safe string copies in d_save.cpp

Seeing sentry crashes here that I suspect involve buffer overflows here.
This commit is contained in:
Pieter-Jan Briers
2026-05-15 07:03:42 +02:00
committed by GitHub
parent 6a27fa23c8
commit 53abb8b96d
+3
View File
@@ -30,6 +30,9 @@
#if TARGET_PC
#include "dusk/settings.h"
#include <f_ap/f_ap_game.h>
#include "dusk/string.hpp"
#define strcpy dusk::SafeStringCopy
#endif
static u8 dSv_item_rename(u8 i_itemNo) {