__acltotext: Always append NUL
* sec_acl.cc (__acltotext): Append NUL unconditionally. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
9ddf063921
commit
3d88f10983
|
@ -1699,8 +1699,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
|
|||
{
|
||||
_CHK (1);
|
||||
*bufp++ = separator;
|
||||
*bufp++ = '\0';
|
||||
}
|
||||
*bufp = '\0';
|
||||
return strdup (buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue