mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-22 23:09:52 -04:00
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:
committed by
GitHub
parent
6a27fa23c8
commit
53abb8b96d
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user