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

BSONColumn builder fuzzer needs to bound recursion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2024-09-30
    • 200

      BF-34826 occurred because creation of fuzzed BSONElements from fuzzer strings can create one call per two bytes for highly nested arrays, which for the right strings can create enough recursion to overflow the stack.

      This is not indicative of a server bug, it's a test issue with the fuzzer before any BSONColumn building code is called. We need to either limit the recursion or use an iterative approach for construction of nested arrays and objects to prevent this.

            Assignee:
            binh.vo@mongodb.com Binh Vo
            Reporter:
            binh.vo@mongodb.com Binh Vo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: