1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

A fix in the ACL code used by both SAMBA 3 and 4

This fixes an uninitialised structure. It has been found through valgrind
in the RAW-ACLs test suite (Bug #6397).
This commit is contained in:
Matthias Dieter Wallnöfer 2009-06-18 11:18:05 +02:00 committed by Andrew Bartlett
parent 2627c6c0c2
commit a8e757ba4c

View File

@ -373,7 +373,7 @@ static struct security_descriptor *security_descriptor_appendv(struct security_d
while ((sidstr = va_arg(ap, const char *))) {
struct dom_sid *sid;
struct security_ace *ace = talloc(sd, struct security_ace);
struct security_ace *ace = talloc_zero(sd, struct security_ace);
NTSTATUS status;
if (ace == NULL) {