* 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:
parent
a9faf94392
commit
977f0426ee
@ -451,7 +451,8 @@ parse_rock_ridge(iso9660_volume* volume, iso9660_inode* node, char* buffer,
|
||||
slDone = true;
|
||||
break;
|
||||
}
|
||||
slName[slNameSize] = '\0';
|
||||
if (slName != NULL)
|
||||
slName[slNameSize] = '\0';
|
||||
lastCompFlag = compFlag;
|
||||
bytePos += compLen;
|
||||
TRACE(("Current sl name is \'%s\'\n", slName));
|
||||
|
Loading…
Reference in New Issue
Block a user