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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.5, 4.0.0-rc0, WT3.1.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: