Ticket #4616 (new defect)
Opened 3 hours ago
[PATCH] (tar.c) fix double free
Reported by: | and | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
When tar data block unexpected end then header_copy get freed but goto ret: freed header_copy again.
Save header_copy pointer AFTER successful tar data block handling.
Found by Clang-19 Static Analyzer
Attachments
Change History
Note: See
TracTickets for help on using
tickets.