Author: mimir Date: 2005-11-13 18:35:12 +0000 (Sun, 13 Nov 2005) New Revision: 11708
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11708 Log: Fix allocation of too small buffer to hold ip address. Thanks metze for catching that. rafal Modified: branches/SAMBA_4_0/source/libnet/libnet_user.c Changeset: Modified: branches/SAMBA_4_0/source/libnet/libnet_user.c =================================================================== --- branches/SAMBA_4_0/source/libnet/libnet_user.c 2005-11-13 11:53:18 UTC (rev 11707) +++ branches/SAMBA_4_0/source/libnet/libnet_user.c 2005-11-13 18:35:12 UTC (rev 11708) @@ -33,7 +33,7 @@ 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;