Coverity analysis defect 116145: Out-of-bounds access

XMLWordPrintableJSON

    • ALL
    • Query 2020-08-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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)".

            Assignee:
            Anton Korshunov
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: