* iso9660_volume::volSetIDString[] should have been 129 bytes in size, not 29.

This fixes (a harmless) out of bounds array access, and CID 1359.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-08-28 17:03:47 +00:00
parent d2a6c05145
commit 1216557e1b
@@ -198,7 +198,7 @@ struct iso9660_volume {
uint16 mPathTblLoc[2]; // Loc (Logical block #) of "Type M" path table byte149-152 uint16 mPathTblLoc[2]; // Loc (Logical block #) of "Type M" path table byte149-152
uint16 optMPathTblLoc[2]; // Loc (Logical block #) of optional Type M path tbl byte153-156 uint16 optMPathTblLoc[2]; // Loc (Logical block #) of optional Type M path tbl byte153-156
iso9660_inode rootDirRec; // Directory record for root directory byte157-190 iso9660_inode rootDirRec; // Directory record for root directory byte157-190
char volSetIDString[29]; // Name of multi-volume set where vol is member byte191-318 char volSetIDString[129]; // Name of multi-volume set where vol is member byte191-318
char pubIDString[129]; // Name of publisher byte319-446 char pubIDString[129]; // Name of publisher byte319-446
char dataPreparer[129]; // Name of data preparer byte447-574 char dataPreparer[129]; // Name of data preparer byte447-574
char appIDString[129]; // Identifies data fomrat byte575-702 char appIDString[129]; // Identifies data fomrat byte575-702