diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-11-13 18:35:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:16 -0500 |
commit | 5da7edac6d9c32b483276930cf05ff4736258fb8 (patch) | |
tree | 97fe07cd80a30f39b7a7ff595552d6235f46edf5 /source4/libnet | |
parent | dfd5b1b0203e592a7707056627395b52f8da1017 (diff) | |
download | samba-5da7edac6d9c32b483276930cf05ff4736258fb8.tar.gz samba-5da7edac6d9c32b483276930cf05ff4736258fb8.tar.bz2 samba-5da7edac6d9c32b483276930cf05ff4736258fb8.zip |
r11708: Fix allocation of too small buffer to hold ip address.
Thanks metze for catching that.
rafal
(This used to be commit 5114ef8d1cc9b6f2206463d4ba76653669728403)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |