]> git.mdlowis.com Git - proto/labwc.git/commit
Fix UAF when granting an output lease
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 4 Jul 2025 22:15:53 +0000 (00:15 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 6 Jul 2025 18:59:43 +0000 (19:59 +0100)
commit4699d446cbf3d3deecd044ffe94598b41bfee47c
tree0e045e2382ce5739dba416833bd8a7fffe319f6b
parentd5e93dcfefb7eea451ff57818172522f01fed656
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.
include/labwc.h
src/output.c
src/server.c