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

Coverity: Potential infinite loops

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.1, 4.3.1, 4.2.0-rc2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Storage Engines 2019-06-17
    • Backport Requested:
      v4.2

      Description

      There are two instances of potential infinite loops under /src/support/huffman.c. The likely fix is to change the loop counter to type u_int which I've also documented in Coverity's "Triage History".

      http://coverity.mongodb.com/query/defects.htm?project=WiredTiger+devel&cid=112258
      http://coverity.mongodb.com/query/defects.htm?project=WiredTiger+devel&cid=112323

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.cameron Alex Cameron (Inactive)
              Reporter:
              alex.cameron Alex Cameron (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: