Dumping cursor while iterating with IteratorIterator may segfault

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.4.3
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None
    • Environment:
      PHP 7.x
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Curiously, the "currentDocument" element in the cursor's var_dump() output has never had a reference added when being set inside the debug array. This dates back to 78839bd for PHPC-688. The line is there, but commented out. There is also no mention of this in the corresponding code review for that issue.

      This was discovered while writing a test case for PHPC-1161.

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

                Created:
                Updated:
                Resolved: