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

__find_closest_leaf: Use of an uninitialized variable

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

      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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            y.ershov@mongodb.com Yury Ershov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: