diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-06-30 17:02:23 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-02 08:03:41 +0900 |
commit | 546ddbcd5bd76def3bb51114d4e1e6eb93eb16e7 (patch) | |
tree | 6de9a85cd3c327e73a5772e23c56e2f801494088 /swaymsg | |
parent | 9c8fb7d025920eacf264e290010e235452235c83 (diff) |
ipc-server: fix double-free on send error in ipc_send_event
ipc_send_reply already does client disconnect on error, so we shouldn't
do it again.
We also need to process current index again as disconnect removes client
from the list we currently are processing (this is an indexed "list")
Found through static analysis.
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions