mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
ea4116f5bd
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. |
||
---|---|---|
.. | ||
AudioServer | ||
ChessEngine | ||
Clipboard | ||
CrashDaemon | ||
DHCPClient | ||
EchoServer | ||
FileOperation | ||
ImageDecoder | ||
InspectorServer | ||
KeyboardPreferenceLoader | ||
LaunchServer | ||
LookupServer | ||
NotificationServer | ||
RequestServer | ||
SystemServer | ||
Taskbar | ||
TelnetServer | ||
WebContent | ||
WebServer | ||
WebSocket | ||
WindowServer | ||
CMakeLists.txt |