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 685161 - grl_source_store() causes segfault if the plugin reports an error
grl_source_store() causes segfault if the plugin reports an error
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: core
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-30 19:47 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2012-10-02 07:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.65 KB, patch)
2012-09-30 19:49 UTC, Mathias Hasselmann (IRC: tbf)
committed Details | Review

Description Mathias Hasselmann (IRC: tbf) 2012-09-30 19:47:00 UTC
grl_source_store() causes segfault if the plugin reports an error.
see attached patch for proposed fix.
Comment 1 Mathias Hasselmann (IRC: tbf) 2012-09-30 19:49:05 UTC
Created attachment 225439 [details] [review]
proposed patch
Comment 2 Juan A. Suarez Romero 2012-10-02 07:17:46 UTC
commit 02d9befee7c3bf172714a3627afef2c9b5e3b650
Author: Mathias Hasselmann <mathias@openismus.com>
Date:   Sun Sep 30 21:47:29 2012 +0200

    core: Properly pass store spec to store_relay_cb()
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685161

 src/grl-source.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)