Document and array visitors should throw for corrupt BSON

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.3
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the document and array visitors ignore corrupt BSON and leave their zval initialized and unmodified. Instead, they should signal to their calling context that they've encountered an error and further iteration should stop.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: