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

__wt_log_extract_lognum can succeed when it shouldn't

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.3.0
    • Component/s: None
    • Labels:

      Description

      @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?

        Attachments

          Activity

            People

            • Assignee:
              sue.loverso Susan LoVerso
              Reporter:
              keith.bostic Keith Bostic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: