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

Coverity analysis defect 168507: Overflowed constant

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • v8.1, v8.0, v7.0, v6.0
    • QE 2025-03-17

      Overflowed constant

      The overflowed value due to arithmetic on constants is too small or unexpectedly negative, causing incorrect computations. Integer overflow occurs in arithmetic on constant operands
      /src/mongo/bson/bsonobj.cpp:371: INTEGER_OVERFLOW 168507 Expression "mask", which is equal to 0, overflows the type that receives it, an unsigned integer 32 bits wide.

            Assignee:
            jan.steemann@mongodb.com Jan Steemann
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: