mirror of
https://github.com/holub/mame
synced 2025-05-30 01:23:07 +03:00
lib/util/cdrom.c: Fixed stack corruption in CHD code [Oliver Stöneberg]
This commit is contained in:
parent
3ee59d4446
commit
720e86216b
@ -574,7 +574,7 @@ chd_error cdrom_parse_metadata(chd_file *chd, cdrom_toc *toc)
|
||||
for (toc->numtrks = 0; toc->numtrks < CD_MAX_TRACKS; toc->numtrks++)
|
||||
{
|
||||
int tracknum = -1, frames = 0, hunks;
|
||||
char type[11], subtype[11];
|
||||
char type[16], subtype[16];
|
||||
cdrom_track_info *track;
|
||||
|
||||
/* fetch the metadata for this track */
|
||||
|
Loading…
Reference in New Issue
Block a user