diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-15 15:04:04 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-23 18:04:01 +0200 |
commit | 8943feccfc8efc27328ef239da38b20922e2656e (patch) | |
tree | b75da99e03b27c3b7d89519a4e82b05550c4b284 /tools | |
parent | 83d000fdab9666a328e38f0552b749fcde545ad0 (diff) | |
download | spice-8943feccfc8efc27328ef239da38b20922e2656e.tar.gz spice-8943feccfc8efc27328ef239da38b20922e2656e.tar.xz spice-8943feccfc8efc27328ef239da38b20922e2656e.zip |
server, separate SpiceChannelEventInfo from RedStream
fixes rhbz 790749 use after free of SpiceChannelEventInfo.
The lifetime of the SpiceChannelEventInfo was that of RedsStream, but it
is used by main_dispatcher_handle_channel_event after the RedsStream is
freed for the cursor and display channels. Making SCEI allocation be at
RedsStream allocation, and deallocation after the DESTROY event is
processed by core->channel_event, fixes use after free.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions