[S-tar-developers] Segfault in set_acls() on default ACLs, star v1.5.3
Free highly portable TAR implementation since 1982
Brought to you by:
schily
|
From: Pavel R. <pra...@re...> - 2018-06-15 09:30:10
|
Hi, I tried to debug star-1.5.3 for Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1567836 and I believe this patch for C&P issue is needed: diff --git a/star/acl_unix.c b/star/acl_unix.c index f9f330b..1e87b29 100644 --- a/star/acl_unix.c +++ b/star/acl_unix.c @@ -505,7 +505,7 @@ set_acls(info) } if (info->f_xflags & XF_ACL_DEFAULT) { - ssize_t len = strlen(info->f_acl_access) + 2; + ssize_t len = strlen(info->f_acl_default) + 2; if (len > aclps.ps_size) { if (aclps.ps_path == acltext) { Pavel |