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

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

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

      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.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: