]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Fix restoring extended attributes from global PAX headers
authorxiangjingsi <xiangjingsi@qq.com>
Thu, 8 May 2025 19:53:23 +0000 (22:53 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Thu, 8 May 2025 19:58:15 +0000 (22:58 +0300)
Copyright-paperwork-exempt: Yes

src/xheader.c

index 6b81358f2a0b6a2e7403a2d0d21c1cf9aab7a415..b940e7f4f2c9f23677106093c8396c584a6ed632 100644 (file)
@@ -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));
     }
 }