After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728992 - GtkLockButton crash if clicked and permission is NULL
GtkLockButton crash if clicked and permission is NULL
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-04-25 23:18 UTC by Juan Pablo Ugarte
Modified: 2014-04-26 02:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (977 bytes, patch)
2014-04-25 23:18 UTC, Juan Pablo Ugarte
committed Details | Review

Description Juan Pablo Ugarte 2014-04-25 23:18:29 UTC
Created attachment 275180 [details] [review]
Proposed patch

If you click on a GtkLockButton with permission set to NULL it will try to call g_permission_get_allowed() with a NULL pointer and crash.

See glib bug #728991
Comment 1 Matthias Clasen 2014-04-26 01:29:38 UTC
Review of attachment 275180 [details] [review]:

sure, ok
Comment 2 Matthias Clasen 2014-04-26 01:31:59 UTC
Review of attachment 275180 [details] [review]:

sure, ok