diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-20 18:17:29 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-20 18:17:29 +0000 |
commit | ef8ced0ca6688f037d74a5e26b52b41afce37682 (patch) | |
tree | ecc02616d66077bbc690a96a179a0d44536c8303 /source3/rpc_parse/parse_samr.c | |
parent | 476828342bd6552eb20f717595b5f4cb7397f33e (diff) | |
download | samba-ef8ced0ca6688f037d74a5e26b52b41afce37682.tar.gz samba-ef8ced0ca6688f037d74a5e26b52b41afce37682.tar.bz2 samba-ef8ced0ca6688f037d74a5e26b52b41afce37682.zip |
dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT()
some of the server-side stuff. Realloc() was being used, so it
Realloc()d some random area of memory. oops.dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT()
some of the server-side stuff. Realloc() was being used, so it
Realloc()d some random area of memory. oops.dynamic memory allocation i added a month ago: forgot to ZERO_STRUCT()
some of the server-side stuff. Realloc() was being used, so it
Realloc()d some random area of memory. oops.
(This used to be commit a51f62f4cf610c23e45251cedb543144747a3e54)
Diffstat (limited to 'source3/rpc_parse/parse_samr.c')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index c50a883ca1..dad9d412e1 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -3843,6 +3843,8 @@ BOOL make_samr_r_lookup_rids(SAMR_R_LOOKUP_RIDS *r_u, for (i = 0; i < num_names; i++) { int len = name[i] != NULL ? strlen(name[i]) : 0; + DEBUG(10,("name[%d]:%s\ttype:%d\n", + i, name[i], type[i])); make_uni_hdr(&(r_u->hdr_name[i]), len); make_unistr2(&(r_u->uni_name[i]), name[i], len); r_u->type[i] = type[i]; |