summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-05-24 05:17:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:31 -0500
commit6e0511f3ee74ecfbbcb140d3c296ee700ec737ca (patch)
treef1c92875a3e7077159ad35a78ef4876850f57cc9 /source4/libnet
parent71152824efbad4dd15886766739b7f00e5efc0d3 (diff)
downloadsamba-6e0511f3ee74ecfbbcb140d3c296ee700ec737ca.tar.gz
samba-6e0511f3ee74ecfbbcb140d3c296ee700ec737ca.tar.bz2
samba-6e0511f3ee74ecfbbcb140d3c296ee700ec737ca.zip
r15849: ensure we don't try to talloc_steal() an invalid error_string in
r->out on error (This used to be commit 1d1d2aaeae643e01bfd51d69cba741557543e5bb)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c
index a2565495eb..7f27404b49 100644
--- a/source4/libnet/libnet_user.c
+++ b/source4/libnet/libnet_user.c
@@ -64,6 +64,7 @@ struct composite_context* libnet_CreateUser_send(struct libnet_context *ctx,
s->ctx = ctx;
s->r = *r;
+ ZERO_STRUCT(s->r.out);
if (s->r.in.domain_name == NULL) {