Menu

#156 Recursion counter never decremented

1.3.2.0
closed
None
2017-05-30
2017-05-05
Tom Younger
No

The recursive function marshallDs() contains a recursion counter to limit recursion.

This is incremented at the start of the function, but is never decremented.

Suggest adding the line:
pInfo->level--;
immediately prior to the return at the end of the function.

Discussion

  • Bernd Löhr

    Bernd Löhr - 2017-05-08
    • status: open --> accepted
    • assigned_to: Bernd Löhr
     
  • Bernd Löhr

    Bernd Löhr - 2017-05-08

    Thank you, Thomas. This is missing in several functions, btw. Will be fixed asap.

     
  • Bernd Löhr

    Bernd Löhr - 2017-05-08
    • status: accepted --> pending
     
  • Bernd Löhr

    Bernd Löhr - 2017-05-30
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB