mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-04 20:59:21 +02:00
Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
2006-03-29 Matthias Clasen <mclasen@redhat.com> * gmodule.c (g_module_symbol): Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
This commit is contained in:
committed by
Matthias Clasen
parent
e83eaad6b9
commit
22eb9cddb9
@@ -1,3 +1,9 @@
|
|||||||
|
2006-03-29 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gmodule.c (g_module_symbol): Make sure to
|
||||||
|
not return TRUE if symbol is NULL. (#334440,
|
||||||
|
ITOH Yasufumi)
|
||||||
|
|
||||||
2006-03-07 Matthias Clasen <mclasen@redhat.com>
|
2006-03-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.10.1 ===
|
* === Released 2.10.1 ===
|
||||||
|
@@ -601,7 +601,7 @@ g_module_symbol (GModule *module,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_static_rec_mutex_unlock (&g_module_global_lock);
|
g_static_rec_mutex_unlock (&g_module_global_lock);
|
||||||
return !module_error;
|
return *symbol != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
G_CONST_RETURN gchar*
|
G_CONST_RETURN gchar*
|
||||||
|
Reference in New Issue
Block a user