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

Deeply nested queries can segfault expression parser

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • QO 2023-08-07
    • 45

      Details in dev-only comment below.

      The depth limit for a query appears to be implicit in BSON, rather than enforced on the server side. We could add an explicit limit, or fix the expression parsing code (and other code that may crash later on in the system for this query) to not crash.

      This recursive parsing code has been around for a while so this isn't a 7.0 specific bug.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: