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

Fix Coverity false positive: out-of-bounds access.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.5, 4.0.0-rc0, WT3.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage Non-NYC 2018-04-23

      Description

      Coverity complains with "Out-of-bounds access (OVERRUN)" whenever an array offset is accessed past the end of an array.

      We pass NULL-terminated variable length arrays into the __wt_config_gets_def() function, and our access is safe because we check for a NULL before we access past the end of the array, but the complaint is a common enough one that it's worth making it go away.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: