Maybe check the right size m8

This commit is contained in:
Ethan Lee
2020-06-14 22:44:34 -04:00
parent bd71fb8a68
commit 3323b7e3cf

View File

@@ -105,7 +105,7 @@ bool binaryBlob::unPackBinary(const char* name)
{
continue; /* Must be EXACTLY 1 or 0 */
}
if (size < 1)
if (m_headers[i].size < 1)
{
continue; /* Must be nonzero and positive */
}