diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2010-05-19 18:31:19 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 17:19:12 +0200 |
commit | 31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9 (patch) | |
tree | 52bfc5bbefbb49adeeec0e8e1da5c651aa487585 /source4/lib/policy/gp_manage.c | |
parent | 299531ce327340937e72530a96991c33fcd48e48 (diff) | |
download | samba-31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9.tar.gz samba-31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9.tar.bz2 samba-31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9.zip |
Fix crash when get_gpo_info returns incorrect data.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/gp_manage.c')
-rw-r--r-- | source4/lib/policy/gp_manage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/policy/gp_manage.c b/source4/lib/policy/gp_manage.c index 7313ab2557..580f87116d 100644 --- a/source4/lib/policy/gp_manage.c +++ b/source4/lib/policy/gp_manage.c @@ -134,6 +134,7 @@ NTSTATUS gp_create_gpo (struct gp_context *gp_ctx, const char *display_name, str name[i] = toupper(name[i]); } + gpo->dn = NULL; gpo->name = name; gpo->flags = 0; gpo->version = 0; |