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 | a51f62f4cf610c23e45251cedb543144747a3e54 (patch) | |
tree | 9386b0935182bf38f62c208c9b7365d5915afcd0 /source/rpc_parse/parse_samr.c | |
parent | f973195b5cf9631bdb0206bf0fd16e23d5e70e4e (diff) | |
download | samba-a51f62f4cf610c23e45251cedb543144747a3e54.tar.gz samba-a51f62f4cf610c23e45251cedb543144747a3e54.tar.xz samba-a51f62f4cf610c23e45251cedb543144747a3e54.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.
Diffstat (limited to 'source/rpc_parse/parse_samr.c')
-rw-r--r-- | source/rpc_parse/parse_samr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c index c50a883ca11..dad9d412e17 100644 --- a/source/rpc_parse/parse_samr.c +++ b/source/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]; |