Bug 1010163 - Cast out warning demons on a CLOSED TREE.

This commit is contained in:
Matthew Gregan 2014-05-16 17:09:28 +12:00
parent 12ed392042
commit f2fda58f3b

View File

@ -577,7 +577,7 @@ WaveReader::LoadListChunk(uint32_t aChunkSize,
uint32_t length = ReadUint32LE(&p);
// Subchunk shall not exceed parent chunk.
if (end - p < length) {
if (uint32_t(end - p) < length) {
break;
}