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 723664 - Do not point to invalid memory
Do not point to invalid memory
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: gegl-gtk
git master
Other All
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2014-02-05 12:03 UTC by Debarshi Ray
Modified: 2014-02-05 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GeglGtkView: Avoid pointing to invalid memory (934 bytes, patch)
2014-02-05 12:04 UTC, Debarshi Ray
none Details | Review

Description Debarshi Ray 2014-02-05 12:03:57 UTC
While debugging I noticed that trigger_redraw points to a possibly invalid memory. Mostly harmless in practice, but it does give garbage values when debugging.
Comment 1 Debarshi Ray 2014-02-05 12:04:44 UTC
Created attachment 268158 [details] [review]
GeglGtkView: Avoid pointing to invalid memory
Comment 2 Daniel Sabo 2014-02-05 13:15:23 UTC
commit a2a88fbe3e47c137aafa746804d216f48441c19b
Author: Debarshi Ray <debarshir@gnome.org>
Date:   Wed Feb 5 13:00:56 2014 +0100

    Fix pointer to out of scope value (bug 723664)

 gegl-gtk/internal/view-helper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)