RESOLVED FIXED 223605
dom/WheelEvent.cpp:47:58: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
https://bugs.webkit.org/show_bug.cgi?id=223605
Summary dom/WheelEvent.cpp:47:58: runtime error: negation of -2147483648 cannot be re...
Chris Dumez
Reported 2021-03-22 15:06:13 PDT
Update WheelEvent constructor to deal with overflow when negating wheelDelta values, instead of having undefined behavior.
Attachments
Patch (2.54 KB, patch)
2021-03-22 15:07 PDT, Chris Dumez
no flags
Patch (9.76 KB, patch)
2021-03-22 16:13 PDT, Chris Dumez
no flags
Patch (10.16 KB, patch)
2021-03-22 19:48 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-03-22 15:07:57 PDT
Chris Dumez
Comment 2 2021-03-22 16:13:53 PDT
Chris Dumez
Comment 3 2021-03-22 19:48:01 PDT
EWS
Comment 4 2021-03-23 09:46:19 PDT
Committed r274876: <https://commits.webkit.org/r274876> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423982 [details].
Radar WebKit Bug Importer
Comment 5 2021-03-23 09:47:15 PDT
Note You need to log in before you can comment on or make changes to this bug.