mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1010163 - Cast out warning demons on a CLOSED TREE.
This commit is contained in:
parent
12ed392042
commit
f2fda58f3b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user