* Fixed CID 1508: a corrupted rockridge entry could cause a kernel panic.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38429 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -451,7 +451,8 @@ parse_rock_ridge(iso9660_volume* volume, iso9660_inode* node, char* buffer,
|
|||||||
slDone = true;
|
slDone = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
slName[slNameSize] = '\0';
|
if (slName != NULL)
|
||||||
|
slName[slNameSize] = '\0';
|
||||||
lastCompFlag = compFlag;
|
lastCompFlag = compFlag;
|
||||||
bytePos += compLen;
|
bytePos += compLen;
|
||||||
TRACE(("Current sl name is \'%s\'\n", slName));
|
TRACE(("Current sl name is \'%s\'\n", slName));
|
||||||
|
|||||||
Reference in New Issue
Block a user