Coverity analysis defect 145549: Improper use of negative value

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Improper use of negative value

      The negative value may be unexpected by later operations, causing incorrect computations. Negative value can be returned from function is not being checked before being used improperly
      /src/mongo/db/exec/sbe/values/ts_block.cpp:248: NEGATIVE_RETURNS 145549 Assigning: "noOfMeasurements" = "mongo::sbe::value::TsBucketPathExtractor::extractCellBlocks(mongo::BSONObj const &)::[lambda() (instance 1)](bucketControlObj, bucketObj, this)()".

              Assignee:
              Unassigned
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: