NEW 219000
Fix possible integer overflow in ImageSource::canUseAsyncDecoding()
https://bugs.webkit.org/show_bug.cgi?id=219000
Summary Fix possible integer overflow in ImageSource::canUseAsyncDecoding()
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.