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 682965 - gdbus-tool: Check return value of strrchr()
gdbus-tool: Check return value of strrchr()
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gdbus
unspecified
Other All
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-08-29 17:24 UTC by Rui Matos
Modified: 2012-08-30 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdbus-tool: Check return value of strrchr() (948 bytes, patch)
2012-08-29 17:24 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2012-08-29 17:24:21 UTC
Patch attached.
Comment 1 Rui Matos 2012-08-29 17:24:23 UTC
Created attachment 222810 [details] [review]
gdbus-tool: Check return value of strrchr()

Fixes a crash when invoking gdbus like:

$ gdbus emit --session -o / -s Foo
Comment 2 Matthias Clasen 2012-08-30 00:51:11 UTC
Review of attachment 222810 [details] [review]:

Looks good, thanks.
Comment 3 Rui Matos 2012-08-30 09:52:34 UTC
Attachment 222810 [details] pushed as 88d181e - gdbus-tool: Check return value of strrchr()