Coverity analysis defect 168235: Use after free

XMLWordPrintableJSON

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

      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
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: