mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 06:55:45 -04:00
CDROM: Fix buffer overflow
This commit is contained in:
@ -1067,7 +1067,7 @@ void CDROM::DoIDRead()
|
||||
void CDROM::DoSectorRead()
|
||||
{
|
||||
// TODO: Error handling
|
||||
u8 raw_sector[RAW_SECTOR_OUTPUT_SIZE];
|
||||
u8 raw_sector[CDImage::RAW_SECTOR_SIZE];
|
||||
if (!m_media->ReadRawSector(raw_sector))
|
||||
Panic("Sector read failed");
|
||||
|
||||
|
Reference in New Issue
Block a user