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 689923 - Missing null-check in GtkEntryAccessible
Missing null-check in GtkEntryAccessible
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Accessibility
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-12-09 10:49 UTC by Mario Sánchez Prada
Modified: 2012-12-09 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch proposal (1.57 KB, patch)
2012-12-09 10:52 UTC, Mario Sánchez Prada
none Details | Review

Description Mario Sánchez Prada 2012-12-09 10:49:53 UTC
According to docs (and facts) gtk_entry_get_icon_name() might return a NULL value, so we should always check that before using it with atk_object_set_name()
Comment 1 Mario Sánchez Prada 2012-12-09 10:52:55 UTC
Created attachment 231058 [details] [review]
Patch proposal

Here comes the patch
Comment 2 Mario Sánchez Prada 2012-12-09 12:35:23 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release.