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

Parsing strings in KeyString can throw Overflow error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.0.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2023-02-20, Execution Team 2023-02-06, Execution Team 2023-03-06, Execution Team 2023-03-20, Execution Team 2023-04-03

      KeyString is normally stored with the record part when used for indexes. This allows parsing code to peek at the next byte.

      This is not the case for clustered collections and we may get an Overflow error when parsing strings that may contain null. We are not actually reading out of bounds but the user facing error is wrong.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: