Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8183

validateBSONInternal can cause a stack overflow due to recursive calls

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 2.4.0-rc0
    • 2.3.2
    • Internal Code
    • None
    • All
    • Fully Compatible
    • ALL
    • Hide

      Run nestedobj1.js and passing 5000 to makeNestedObj() with the latest mongo client from master (needs git commit b6879559f6a87c585915553ca9edb931d0df8e83)

      Show
      Run nestedobj1.js and passing 5000 to makeNestedObj() with the latest mongo client from master (needs git commit b6879559f6a87c585915553ca9edb931d0df8e83)

    Description

      validateBSONInternal() can crash the server due to recursive calls to traverse an array.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: