Menu

#17 Infinite Loop in XMLDoc_parse_buffer_DOM_text_as_nodes()

v4.2.6
closed-fixed
nobody
None
5
2018-09-11
2017-01-18
No

When handing a buffer without a single '\n' to XMLDoc_parse_buffer_DOM_text_as_nodes() the method loops infinitely and does not return.

Discussion

  • Andreas Neustifter

    This patch fixes the infinite parsing. It makes sure that, when parsing partial content, the non-increasing read count signals the error.

     
  • Matthieu Labas

    Matthieu Labas - 2017-01-18
    • status: open --> accepted
    • Group: v4.2.4 --> v4.2.6
     
  • Matthieu Labas

    Matthieu Labas - 2017-01-18

    Thank you. I have applied your patch to v4.2.6.
    It's already pushed. I'll prepare the zip file later tonight.

     
  • Matthieu Labas

    Matthieu Labas - 2018-09-11
    • status: accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB