Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10592

Coverity analysis defect 135062: Unintentional integer overflow

    • Storage Engines
    • 1
    • StorEng - Defined Pipeline

      Unintentional integer overflow

      The expression's value may not be what the programmer intended, because the expression is evaluated using a narrow (i.e. few bits) integer type. An integer overflow occurs, with the result converted to a wider integer type
      /test/format/ops.c:319: OVERFLOW_BEFORE_WIDEN 135062 Potentially overflowing expression "tables[0]->v[85].v * run_current" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "uint64_t" (64 bits, unsigned).

            Assignee:
            adeline.chen@mongodb.com Adeline Chen (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: