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 471483 - Segfault when using python bindings on x86_64
Segfault when using python bindings on x86_64
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-29 17:51 UTC by Daniel Gryniewicz
Modified: 2007-08-30 00:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Zero out malloc'd memory before testing it for NULL (1.14 KB, patch)
2007-08-29 17:52 UTC, Daniel Gryniewicz
none Details | Review

Description Daniel Gryniewicz 2007-08-29 17:51:14 UTC
Per this Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=190388 running the test suite for venus (http://intertwingly.net/code/venus/) causes a segfault in libxslt's python bindings.  I tracked this down to not zeroing out malloc'd memory.  Patch attached.
Comment 1 Daniel Gryniewicz 2007-08-29 17:52:02 UTC
Created attachment 94562 [details] [review]
Zero out malloc'd memory before testing it for NULL
Comment 2 William M. Brack 2007-08-30 00:20:40 UTC
patch committed to SVN - thanks!