Bug 178167
Summary: | xsltproc calls free() on invalid memory when given a custom XSLT that imports profile-htmlhelp.xsl | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Costanzo <david_costanzo> | ||||||
Component: | libxslt | Assignee: | Daniel Veillard <veillard> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-01-19 08:44:45 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
David Costanzo
2006-01-18 06:36:52 UTC
Created attachment 123357 [details]
htmlhelp.xsl - style sheet that causes the invalid free
Created attachment 123358 [details]
logohelp.xml -- DocBook XML that reproduces the crash
logohelp.xml is an XML that reproduces the invalid free(). logohelp.xml used
to be much more complicated, but I cut it down to a reasonable size for a
repro. The resulting XML may be invalid DocBook, but the invalid free() will
also happen on valid DocBook XML. It not happen on badly-formed XML.
Try to update your libxml2 and libxslt to the latest versions (2.6.23 and 1.1.15) from ftp://xmlsoft.org/ and see if it solves it. This depends a lot on other parts of your infrastructure, like which stylesheets for DocBook transformations your are using, and that is not part of my environment. Daniel I have confirmed that the invalid free() is NOT reproducible with these packages: libxml2-2.6.23-1 libxslt-1.1.15-1 Thanks for the tip, Daniel. okay, it's probably not worth pushing an update to FC4, and those versions are in rawhide, so it will be fixed in FC5 Daniel |