1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Fix NULL pointer dereference in libgpo when listing Local Policy which has no security descriptor.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
Wilco Baan Hofman 2009-10-11 00:12:28 +02:00 committed by Jelmer Vernooij
parent 5a7d48f82b
commit c319b965a1

View File

@ -321,10 +321,11 @@ void dump_gpo(ADS_STRUCT *ads,
}
dump_gp_ext(gp_ext, lvl);
}
if (gpo->security_descriptor) {
DEBUGADD(lvl,("security descriptor:\n"));
DEBUGADD(lvl,("security descriptor:\n"));
NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor);
NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor);
}
}
/****************************************************************