__find_closest_leaf: Use of an uninitialized variable

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines
    • None
    • None

      https://coverity.corp.mongodb.com/#/project-view/20364/10049?selectedIssue=162234

      The __wt_tree_walk_count function expects the walkcnt argument to be initialized, and it increments this value by the number of steps taken. However, since walkcnt is never used in the calling function, this variable should be removed, and the argument should be replaced with NULL or an alternative function should be called.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Yury Ershov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: