Hyprland crashes when client fails to send the correct SHM size to wl_shm_create_pool #8570
Closed
1 task done
Labels
bug
Something isn't working
Already reported ? *
Regression?
No
System Info and Version
System/Version info
Description
Server crashes
if the actual size of the shared memory of "fd" is smaller than the one set in the call to
wl_shm_create_pool
, Hyprland server will crash when trying to dispatch the events.I tried running the same program (you will find it below) in weston and instead of crashing, it gave an error saying "invalid size" or "error accessing SHM buffer".
How to reproduce
Please check this repo for a version that breaks Hyprland.
I tried to make it as reproducible and small as possible to show the problem directly.
Check the section called "Running the broken version" for a way to run the version that makes Hyprland crash.
Crash reports, logs, images, videos
The text was updated successfully, but these errors were encountered: