When handing a buffer without a single '\n' to XMLDoc_parse_buffer_DOM_text_as_nodes() the method loops infinitely and does not return.
This patch fixes the infinite parsing. It makes sure that, when parsing partial content, the non-increasing read count signals the error.
Thank you. I have applied your patch to v4.2.6. It's already pushed. I'll prepare the zip file later tonight.
Log in to post a comment.
This patch fixes the infinite parsing. It makes sure that, when parsing partial content, the non-increasing read count signals the error.
Thank you. I have applied your patch to v4.2.6.
It's already pushed. I'll prepare the zip file later tonight.