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 623096 - Wrong out-parameter check against NULL in notify_get_server_info
Wrong out-parameter check against NULL in notify_get_server_info
Status: RESOLVED FIXED
Product: libnotify
Classification: Platform
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: William Jon McCann
Depends on:
Blocks:
 
 
Reported: 2010-06-29 06:36 UTC by Sebastian Dröge (slomo)
Modified: 2010-07-02 00:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libnotify.diff (439 bytes, patch)
2010-06-29 06:36 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2010-06-29 06:36:25 UTC
Created attachment 164865 [details] [review]
libnotify.diff

Quoting http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536288 :

> If you pass NULL as the fourth argument to notify_get_server_info it
> segfaults. Patch attached, which describes the bug pretty clearly.

Attached patch is by Jonny Lamb <jonny@debian.org> and applies to 0.5.0 too
Comment 1 William Jon McCann 2010-07-02 00:53:50 UTC
Thanks!