On 11/07/2015 05:13, Olli Pottonen wrote:
Consider the last three lines. After the change, root == NULL == cur,
and the condition (root != cur) is always false. That’s not
what we want.

Patch attached.

Thanks for the report. I fixed it in a slightly different way:


https://git.gnome.org/browse/libxml2/commit/?id=3eaedba1b64180668fdab7ad2eba549586017bf3

Nick

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to