Re: [hackers] [dwm][PATCH] Fix use-after-free on cleanup.
On Mon, 24 Sep 2018 at 21:14, Mario J. Rugiero <mrugiero_AT_gmail.com> wrote:
> When cleaning up the stack the stack member for the first
> monitor wasn't being updated to reflect this, with the following
> (possible) consequences:
> - An infinite loop. If things wouldn't crash, not updating the
> guard of the loop would lead to this.
> - Garbage being read and passed to functions.
> - A double free on m->stack.
How do you came to this weird conclusion? m->stack is detached on both
the stack and the list prior to any free'ing or other handling during
unmanage.
Rejected.
-Anselm
Received on Tue Sep 25 2018 - 23:24:43 CEST
This archive was generated by hypermail 2.3.0
: Tue Sep 25 2018 - 23:36:21 CEST