Bug 219000

Summary: Fix possible integer overflow in ImageSource::canUseAsyncDecoding()
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sabouhallawa: review?

Said Abou-Hallawa
Reported 2020-11-16 12:31:53 PST
If the image is malformed such that its area multiplied by 4 is greater than the INT_MAX, an overflow will happen in ImageSource::canUseAsyncDecoding().
Attachments
Patch (1.67 KB, patch)
2020-11-16 12:41 PST, Said Abou-Hallawa
sabouhallawa: review?
Said Abou-Hallawa
Comment 1 2020-11-16 12:40:04 PST
Said Abou-Hallawa
Comment 2 2020-11-16 12:41:28 PST
Ahmad Saleem
Comment 3 2024-09-03 03:18:05 PDT
This patch was modifying this function, which is now gone with following commit - https://github.com/WebKit/WebKit/commit/8b78e07f7be5805e58bc1858db1ee8a6e6a7a15d#diff-304a81cca33b7403e9830035e1078056bbee049f993ea8dade03f3758ef0369cL336 Do we still need this?
Note You need to log in before you can comment on or make changes to this bug.