Matthew Jones
ea4116f5bd
LibGUI+LibGfx+WindowServer: Sanity check window size dimensions
...
Previous to this commit, if a `Window` wanted to set its width or height
greater than `INT16_MAX` (32768), both the application owning the Window
and the WindowServer would crash.
The root of this issue is that `size_would_overflow` check in `Bitmap`
has checks for `INT16_MAX`, and `Window.cpp:786` that is called by
`Gfx::Bitmap::create_with_anonymous_buffer` would get null back, then
causing a chain of events resulting in crashes.
Crashes can still occur but with `VERIFY` and `did_misbehave` the
causes of the crash can be more readily identified.
2021-06-02 23:59:57 +01:00
..
2021-05-02 22:48:06 +02:00
2021-05-02 22:48:06 +02:00
2021-05-02 22:48:06 +02:00
2021-06-02 23:59:57 +01:00
2021-05-24 13:31:01 +02:00
2021-05-24 08:18:34 +02:00
2021-04-22 11:22:27 +02:00
2021-05-28 07:59:05 +02:00
2021-04-23 08:24:53 +02:00
2021-05-28 07:59:05 +02:00
2021-04-22 11:22:27 +02:00
2021-04-23 16:46:57 +02:00
2021-04-22 11:22:27 +02:00
2021-05-21 10:30:52 +01:00
2021-04-29 00:59:26 +02:00
2021-05-20 20:55:29 +02:00
2021-05-01 19:42:29 +02:00
2021-05-18 08:45:53 +01:00
2021-04-22 11:22:27 +02:00
2021-05-27 00:01:38 +04:30
2021-05-18 08:45:53 +01:00
2021-05-18 08:45:53 +01:00
2021-05-02 22:48:06 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-29 12:30:08 +01:00
2021-05-21 20:15:51 +02:00
2021-05-21 20:15:51 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-30 14:42:34 +01:00
2021-04-22 11:22:27 +02:00
2021-05-29 21:46:16 +04:30
2021-04-22 11:22:27 +02:00
2021-05-18 08:45:53 +01:00
2021-04-23 16:46:57 +02:00
2021-05-31 17:26:11 +01:00
2021-04-29 00:59:26 +02:00
2021-05-29 12:30:08 +01:00
2021-05-24 00:33:18 +01:00
2021-04-22 11:22:27 +02:00
2021-05-23 18:28:27 +02:00
2021-05-20 22:08:02 +02:00
2021-04-23 16:46:57 +02:00
2021-04-22 11:22:27 +02:00
2021-05-07 21:12:09 +02:00
2021-05-25 00:24:09 +04:30
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-09 09:59:22 +02:00
2021-04-22 11:22:27 +02:00
2021-05-31 17:43:54 +01:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-03 16:37:05 +02:00
2021-05-09 09:59:22 +02:00
2021-05-09 09:59:22 +02:00
2021-04-22 11:22:27 +02:00
2021-05-21 08:04:31 +02:00
2021-05-02 22:48:06 +02:00
2021-05-24 13:31:01 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-02 22:48:06 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-20 22:12:42 +02:00
2021-05-20 22:12:42 +02:00
2021-05-21 08:04:31 +02:00
2021-04-22 11:22:27 +02:00
2021-05-17 17:48:55 +01:00
2021-05-17 17:48:55 +01:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-04-22 11:22:27 +02:00
2021-05-29 12:30:08 +01:00
2021-05-29 12:30:08 +01:00
2021-05-29 12:30:08 +01:00
2021-05-29 12:30:08 +01:00
2021-05-29 12:30:08 +01:00
2021-04-22 11:22:27 +02:00
2021-05-01 19:42:29 +02:00