commit | 1a845115a24bea553885acb69b731dbc32d3369b | [log] [tgz] |
---|---|---|
author | Jan Tojnar <jtojnar@gmail.com> | Fri Feb 24 16:46:55 2017 +0100 |
committer | Philip Withnall <withnall@endlessm.com> | Mon Feb 27 14:43:44 2017 +0000 |
tree | fdafa315aef9a082d3f6ea42a8f347e179b130b6 | |
parent | ee09bb704fe9ccb24d92dd86696a0e6bb8f0dc1a [diff] |
gio: Check for NUll when getting extensions When unregistered extension point (i.e. NULL pointer) is passed to `g_io_extension_point_get_extensions`, it causes a segfault. This commit adds an assertion, to prevent this. https://bugzilla.gnome.org/show_bug.cgi?id=779183