mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(libretro-db) Should fix buffer overflow - should fix Database
Information and Scan folder/File with GCC 10
This commit is contained in:
parent
1099b58793
commit
685948368e
@ -75,7 +75,7 @@ typedef struct libretrodb_metadata
|
|||||||
|
|
||||||
typedef struct libretrodb_header
|
typedef struct libretrodb_header
|
||||||
{
|
{
|
||||||
char magic_number[sizeof(MAGIC_NUMBER)-1];
|
char magic_number[sizeof(MAGIC_NUMBER)];
|
||||||
uint64_t metadata_offset;
|
uint64_t metadata_offset;
|
||||||
} libretrodb_header_t;
|
} libretrodb_header_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user