On Mon, Aug 06, 2012 at 06:46:24PM +0800, Daniel Veillard wrote:
On Mon, Aug 06, 2012 at 03:00:38PM +0800, Daniel Veillard wrote: [...]So where there is such use of direct access, check the LIBXML2_NEW_BUFFER macro and if present then - replace buf->buffer->content with xmlOutputBufferGetContent(buf) - replace buf->buffer->use with xmlOutputBufferGetSize(buf)Attached is a patch for php-5.4.5, there is 3 places in the code where this need fixing along the provided guidlines above. Remi, any idea how to best forward that patch to PHP upstream ?
Humpf, with the patch that time, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
Attachment:
php-5.4.5-libxm2-2.9.0.patch
Description: Text document