diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-15 15:04:04 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-15 15:04:04 +0200 |
commit | 5ec8515508828ecf5055de220cb0cc0f3c997a27 (patch) | |
tree | 465540d21306875d200f91401691676d26987d5c /client/jpeg_decoder.h | |
parent | bdd3bf8777d09c704ff691827c391feb76b05598 (diff) | |
download | spice-5ec8515508828ecf5055de220cb0cc0f3c997a27.tar.gz spice-5ec8515508828ecf5055de220cb0cc0f3c997a27.tar.xz spice-5ec8515508828ecf5055de220cb0cc0f3c997a27.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 'client/jpeg_decoder.h')
0 files changed, 0 insertions, 0 deletions