diff options
author | Markus Ongyerth <ongy@ongy.net> | 2017-09-08 16:02:26 +0200 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2017-09-08 16:02:26 +0200 |
commit | 935b6d871e8e384c52c1c0077def06bd767d4361 (patch) | |
tree | 5369476aa44d1c8048213ef895edc9be4b83a746 /.gitignore | |
parent | c59ccbde518ac173fffe8aba16ad9c5b703f7e2a (diff) |
fixes use after free caused by signal lists
A structs throughout the code use implementation specific free
functions.
When those functions are not used, they simply call free() on their
data, but this leaves around wl_signals linked into listeners.
When those listeners try to remove themself from the list, they write
into the now free memory.
This commit adds calls to remove the signals from those lists, so the
listeners can safely call wl_list_remove
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions