__wt_log_extract_lognum can succeed when it shouldn't

XMLWordPrintableJSON

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

      @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:
            Susan LoVerso (Inactive)
            Reporter:
            Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: