Coverity: Potential infinite loops

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT3.2.1, 4.3.1, 4.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2019-06-17
    • 1
    • 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 (Inactive)
            Reporter:
            Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: