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

__wt_log_extract_lognum can succeed when it shouldn't

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      @sueloverso, the function __wt_log_extract_lognum returns 0 and doesn't set the return id if passed a NULL id or name argument, but the callers of that function will go ahead and use the (garbage) returned id in those cases.

      If you agree, maybe __wt_log_extract_lognum should fail if id or name are NULL?

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: