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

Coverity analysis defect 116145: Out-of-bounds access

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • ALL
    • Query 2020-08-24

    Description

      Out-of-bounds access

      Memory not owned by this buffer will be accessed, causing memory corruption or incorrect computations. Access of memory past the end of a memory buffer
      /src/mongo/db/exec/sbe/values/value.cpp:191: ARRAY_VS_SINGLETON 116145 Taking address with "val" yields a singleton pointer.
      /src/mongo/db/exec/sbe/values/value.cpp:191: ARRAY_VS_SINGLETON 116145 Assigning: "<temporary>" = "mongo::sbe::value::getSmallStringView(val)".

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: