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

Coverity analysis defect 138744: Argument cannot be negative

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      Argument cannot be negative

      The negative argument will be interpreted as a very large unsigned value. Negative value used as argument to a function expecting a positive value (for example, size of buffer or allocation)
      /bench/wtperf/wtperf_misc.c:157: REVERSE_NEGATIVE 138744 Passing "rfd" to a parameter that cannot be negative.
      /bench/wtperf/wtperf_misc.c:166: REVERSE_NEGATIVE 138744 You might be using variable "rfd" before verifying that it is >= 0.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: