* 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:
Axel Dörfler
2010-08-29 21:12:35 +00:00
parent a9faf94392
commit 977f0426ee
@@ -451,6 +451,7 @@ parse_rock_ridge(iso9660_volume* volume, iso9660_inode* node, char* buffer,
slDone = true; slDone = true;
break; break;
} }
if (slName != NULL)
slName[slNameSize] = '\0'; slName[slNameSize] = '\0';
lastCompFlag = compFlag; lastCompFlag = compFlag;
bytePos += compLen; bytePos += compLen;