mirror of https://gitee.com/openkylin/acl.git
Fix usage of uninitialized variable.
Bug-Debian: https://bugs.debian.org/612599 Forwarded: no Last-Update: 2020-03-01 Gbp-Pq: Name getfacl-fix-uninitialized-variable.patch
This commit is contained in:
parent
912e2d1db3
commit
6230c328f2
|
@ -380,6 +380,8 @@ int do_show(FILE *stream, const char *path_p, const struct stat *st,
|
|||
show_line(stream, NULL, NULL, NULL, NULL,
|
||||
&dacl_names, dacl, &dacl_ent, dacl_mask);
|
||||
continue;
|
||||
} else if (!dacl && !acl) {
|
||||
return -1;
|
||||
} else {
|
||||
if (acl_tag == ACL_USER || acl_tag == ACL_GROUP) {
|
||||
int id_cmp = 0;
|
||||
|
|
Loading…
Reference in New Issue