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 127185 - gnome-canvas-line seg fault when using clip_path (patch enclosed)
gnome-canvas-line seg fault when using clip_path (patch enclosed)
Status: RESOLVED FIXED
Product: libgnomecanvas
Classification: Deprecated
Component: items
CVS HEAD
Other other
: High critical
: ---
Assigned To: libgnomecanvas maintainers
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2003-11-17 11:22 UTC by Bob Gibbs
Modified: 2005-08-15 01:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix this bug (1.33 KB, patch)
2003-11-17 11:23 UTC, Bob Gibbs
none Details | Review

Description Bob Gibbs 2003-11-17 11:22:28 UTC
If a valid clip_path is passed in to gnome_canvas_line_update, an
application will seg fault due to faulty logic around first_arrow and
last_arrow.

I have enclosed a patch.
Comment 1 Bob Gibbs 2003-11-17 11:23:50 UTC
Created attachment 21530 [details] [review]
patch to fix this bug
Comment 2 alexander.winston 2004-01-05 03:57:57 UTC
Adding the PATCH keyword and upgrading the priority level to High.
Comment 3 Kjartan Maraas 2004-01-20 14:04:40 UTC
Upping severity as it is a crasher. Please review this patch.
Comment 4 Kjartan Maraas 2005-01-25 16:50:21 UTC
Patch still applies cleanly. Updating version info etc.
Comment 5 Tim Janik 2005-05-16 14:17:36 UTC
the patch fixes a blatant NULL pointer access, it looks good to me and should be
applied.
Comment 6 Kjartan Maraas 2005-05-19 14:00:59 UTC
Fixed on both branches.