mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Fix UAF when granting an output lease
Wlroots now destroys the wlr_output when granting a lease. So we can't iterate through the outputs in the request after granting the lease. This is also not necessary anymore because they are already destroyed and thus removed from the layout.
This commit is contained in:
parent
d5e93dcfef
commit
4699d446cb
3 changed files with 2 additions and 19 deletions
|
|
@ -433,7 +433,6 @@ struct output {
|
|||
struct wl_listener frame;
|
||||
struct wl_listener request_state;
|
||||
|
||||
bool leased;
|
||||
bool gamma_lut_changed;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue