diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-16 19:53:41 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-16 19:53:41 +0800 |
commit | 4219fa9dd2a048563bd6684a0bfba08dd1629759 (patch) | |
tree | 0e93531ae5641af93f081e0848ecf6ed461bc605 /libempathy/empathy-chatroom-manager.h | |
parent | 926bd94a134044ed2416537f02e55d7e4ef6cb1e (diff) | |
download | gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar.gz gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar.bz2 gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar.lz gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar.xz gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.tar.zst gsoc2013-empathy-4219fa9dd2a048563bd6684a0bfba08dd1629759.zip |
dispatcher_connection_new_requested_channel: fix a use-after-free crash
If an error occurs when requesting the channel, we call
dispatcher_request_failed which as the side effect of destroying the
DispatcherRequestData. When calling dispatcher_flush_outstanding_operations
we used to deference this pointer.
Fixes this crash by using the "self" pointer instead and reffing it to be sure
it stays valid.
Diffstat (limited to 'libempathy/empathy-chatroom-manager.h')
0 files changed, 0 insertions, 0 deletions