From: br0nzu Date: Wed, 13 May 2026 07:24:44 +0000 (+0900) Subject: Free XAR xattr fstype metadata X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6767cbe3;p=thirdparty%2Flibarchive.git Free XAR xattr fstype metadata The XAR xattr cleanup helper released the xattr name string but not the parallel fstype archive_string. Release fstype from the same xattr_free() ownership boundary. --- diff --git a/libarchive/archive_read_support_format_xar.c b/libarchive/archive_read_support_format_xar.c index 874501fc0..6de05e5e8 100644 --- a/libarchive/archive_read_support_format_xar.c +++ b/libarchive/archive_read_support_format_xar.c @@ -1866,6 +1866,7 @@ static void xattr_free(struct xattr *xattr) { archive_string_free(&(xattr->name)); + archive_string_free(&(xattr->fstype)); free(xattr); }