Date: Wed May 7 10:22:46 AM CST 2025
Fix the issue where extended attributes (xattrs) in the tar file's global
header (gheader) cannot be overridden to individual files during extraction.
* src/xheader.c
---
src/xheader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xheader.c b/src/xheader.c
index 6b81358f..b940e7f4 100644
--- a/src/xheader.c
+++ b/src/xheader.c
@@ -670,7 +670,7 @@ run_override_list (struct keyword_list *kp, struct
tar_stat_info *st)
{
struct xhdr_tab const *t = locate_handler (kp->pattern);
if (t)
- t->decoder (st, t->keyword, kp->value, strlen (kp->value));
+ t->decoder (st, kp->pattern, kp->value, strlen (kp->value));
}
}
--
2.48.1