diff options
author | 2018-07-28 17:43:18 +1000 | |
---|---|---|
committer | 2018-07-28 17:43:18 +1000 | |
commit | 52cf410d3cfcf0cae81b47c90097867c4e4d8564 (patch) | |
tree | 08ba3ef9af21a120b380401dbed5e4a5badce996 /swaymsg | |
parent | Merge pull request #2370 from RyanDwyer/transactions-use-after-free (diff) | |
download | sway-52cf410d3cfcf0cae81b47c90097867c4e4d8564.tar.gz sway-52cf410d3cfcf0cae81b47c90097867c4e4d8564.tar.zst sway-52cf410d3cfcf0cae81b47c90097867c4e4d8564.zip |
Second attempt at fixing transaction use-after-free
The solution used in 073ac425d5bf6f6393eb91d9b5f84e3caa68f511 doesn't
work in all cases because the freed instruction might be ahead in the
list, not necessarily behind.
The new solution delays running the queue until after the loop has
finished iterating, thus avoiding the problem completely.
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions