mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 03:20:28 +08:00
__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…
x
Reference in New Issue
Block a user