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

__wt_config_check doesn't handle overlapping config names

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.3
    • Affects Version/s: None
    • Component/s: None

      in *wt_config_check(), there are calls to strncmp, looking for the "type", "min", "max", "choices" and so on strings. It looks to me like this code depends on non-overlapping names, that is, as long as there's "min" but not "minx", it all works. If I'm right, we might want to change *wt_config_check's strncmp calls to be WT_STRING_MATCH, just out of sheer, raving paranoia.

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: