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

Coverity: Potential infinite loops

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT3.2.1, 4.3.1, 4.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Storage Engines 2019-06-17
    • v4.2

      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

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

              Created:
              Updated:
              Resolved: