]> git.mdlowis.com Git - proto/labwc.git/commit
menu: fix UAF in client-list-combined-menu after window destruction
authorJohan Malm <jgm323@gmail.com>
Wed, 23 Oct 2024 19:47:50 +0000 (20:47 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 24 Oct 2024 19:52:17 +0000 (20:52 +0100)
commite912964f737669018206a59442c75cfe887c9f5e
tree4e4a5e2e2d6ce9524095431b29eca05663e5c0e7
parent2b1a6941545b2d55ddf901c1358f9580a1018d79
menu: fix UAF in client-list-combined-menu after window destruction

Update client-list-combined-menu when a window is destroyed to avoid
SEGFAULT when selecting an that window entry in it.
include/menu/menu.h
src/menu/menu.c
src/view.c