mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +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
|
||||
{
|
||||
char magic_number[sizeof(MAGIC_NUMBER)-1];
|
||||
char magic_number[sizeof(MAGIC_NUMBER)];
|
||||
uint64_t metadata_offset;
|
||||
} libretrodb_header_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user