From 5da7edac6d9c32b483276930cf05ff4736258fb8 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Sun, 13 Nov 2005 18:35:12 +0000 Subject: r11708: Fix allocation of too small buffer to hold ip address. Thanks metze for catching that. rafal (This used to be commit 5114ef8d1cc9b6f2206463d4ba76653669728403) --- source4/libnet/libnet_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c index f8371b92fe..2b648e708a 100644 --- a/source4/libnet/libnet_user.c +++ b/source4/libnet/libnet_user.c @@ -33,7 +33,7 @@ NTSTATUS libnet_CreateUser(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru struct libnet_rpc_useradd user_io; const char *address; - address = talloc_array(mem_ctx, const char, 8); + address = talloc_array(mem_ctx, const char, 16); /* find domain pdc */ fp.in.hostname = r->in.domain_name; -- cgit