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:
parent
5a7d48f82b
commit
c319b965a1
@ -321,10 +321,11 @@ void dump_gpo(ADS_STRUCT *ads,
|
|||||||
}
|
}
|
||||||
dump_gp_ext(gp_ext, lvl);
|
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************
|
/****************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user