mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
fix elliots "logic fix" that dereferences NULL nodes if C handlers are
Wed Nov 29 13:30:05 2000 Tim Janik <timj@gtk.org> * gsignal.c (handlers_find): fix elliots "logic fix" that dereferences NULL nodes if C handlers are searched for specific signals.
This commit is contained in:
parent
790a7bd3be
commit
55ec7f32a6
@ -1,3 +1,8 @@
|
||||
Wed Nov 29 13:30:05 2000 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gsignal.c (handlers_find): fix elliots "logic fix" that dereferences
|
||||
NULL nodes if C handlers are searched for specific signals.
|
||||
|
||||
2000-11-28 Elliot Lee <sopwith@redhat.com>
|
||||
|
||||
* gsignal.c: Fix warnings about possible use of uninitialized
|
||||
|
@ -378,7 +378,7 @@ handlers_find (gpointer instance,
|
||||
Handler *handler;
|
||||
SignalNode *node = NULL;
|
||||
|
||||
if (!(mask & G_SIGNAL_MATCH_FUNC))
|
||||
if (mask & G_SIGNAL_MATCH_FUNC)
|
||||
{
|
||||
node = LOOKUP_SIGNAL_NODE (signal_id);
|
||||
if (!node || !node->c_marshaller)
|
||||
|
Loading…
Reference in New Issue
Block a user