Skip to content

community/openbox: Add upstream patch to fix traversal issue in client_calc_layer

gabrielstedman requested to merge gabrielstedman/aports:openbox into master

Include openbox upstream patch http://git.openbox.org/?p=mikachu/openbox.git;a=commit;h=d41128e5a1002af41c976c8860f8299cfcd3cd72
This patch prevents openbox from segfaulting in multiple circumstances such as switching from a fullscreen window.

Original description

The calls to client_calc_layer_internal can modify stacking_list, which
can cause us to follow dangling ->next pointers (either by the pointer
itself already being freed, or it pointing to a freed area). Avoid this
by copying the list first, the goal is to visit every client in the list
once so this should be fine.
Edited by gabrielstedman

Merge request reports