mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 865919 - Abort decode of INT32_MIN BMPs. r=joe
This commit is contained in:
parent
e8b8439a32
commit
5d6b5329a8
@ -247,6 +247,11 @@ nsBMPDecoder::WriteInternal(const char* aBuffer, uint32_t aCount)
|
||||
return;
|
||||
}
|
||||
|
||||
if (mBIH.height == INT_MIN) {
|
||||
PostDataError();
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t real_height = GetHeight();
|
||||
|
||||
// Post our size to the superclass
|
||||
|
Loading…
Reference in New Issue
Block a user