Add a NULL check into register_reply
authorMike Gorse <mgorse@suse.com>
Fri, 3 May 2013 14:48:50 +0000 (09:48 -0500)
committerMike Gorse <mgorse@suse.com>
Fri, 3 May 2013 14:48:50 +0000 (09:48 -0500)
commit031946b5b7ec90279ae60bbf974f23979979ea78
treef338285ac400a380ab57b51ddf663f456caa7f0a
parentc45b58703c60511c9ed94734573cdf44c3f4eedc
Add a NULL check into register_reply

Register_reply could access invalid memory if it is called after
atk_bridge_adaptor_cleanup() has been called.

This code should probably be refactored to make the instance act as a
GObject, but committing this for now to fix the crash.

https://bugzilla.gnome.org/show_bug.cgi?id=699554
atk-adaptor/bridge.c