Coverity analysis defect 148817: String not null terminated

XMLWordPrintableJSON

    • Query Integration
    • ALL
    • v8.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      String not null terminated

      The function may iterate past the end of the buffer looking for a null terminator. A character buffer that has not been null terminated is passed to a function expecting a null terminated string
      /src/mongo/scripting/engine.cpp:233: STRING_NULL 148817 Passing unterminated string "data.get()" to "strchr", which expects a null-terminated string.

            Assignee:
            Santiago Roche
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: