Author: tridge
Date: 2005-01-02 23:44:08 +0000 (Sun, 02 Jan 2005)
New Revision: 4492

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4492

Log:
r.in.info is a pointer that needs to be allocated before use

Modified:
   branches/SAMBA_4_0/source/torture/rpc/samr.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samr.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samr.c        2005-01-02 23:36:02 UTC 
(rev 4491)
+++ branches/SAMBA_4_0/source/torture/rpc/samr.c        2005-01-02 23:44:08 UTC 
(rev 4492)
@@ -629,6 +629,7 @@
 
                r.in.alias_handle = handle;
                r.in.level = levels[i];
+               r.in.info  = talloc_p(mem_ctx, union samr_AliasInfo);
                switch (r.in.level) {
                    case 2 : init_samr_String(&r.in.info->name,TEST_ALIASNAME); 
break;
                    case 3 : init_samr_String(&r.in.info->description,

Reply via email to