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

Coverity analysis defect 168235: Use after free

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • Storage Engines
    • 3
    • StorEng - 2025-03-28

      Use after free

      This could cause an immediate crash or incorrect values might be read subsequently resulting in incorrect computations. A pointer to freed memory is dereferenced, used as a function argument, or otherwise used
      /src/live_restore/live_restore_fs.c:968: USE_AFTER_FREE 168235 Passing freed pointer "files" as an argument to "os_fs->fs_directory_list_free".

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: