Author: metze Date: 2007-08-15 10:30:44 +0000 (Wed, 15 Aug 2007) New Revision: 24458
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24458 Log: regenerate pidl output after pidl fixes: fixes winreg_EnumValues() metze Modified: branches/SAMBA_3_2/source/librpc/gen_ndr/cli_eventlog.c branches/SAMBA_3_2/source/librpc/gen_ndr/cli_netlogon.c branches/SAMBA_3_2/source/librpc/gen_ndr/cli_winreg.c branches/SAMBA_3_2/source/librpc/gen_ndr/svcctl.h Changeset: Modified: branches/SAMBA_3_2/source/librpc/gen_ndr/cli_eventlog.c =================================================================== --- branches/SAMBA_3_2/source/librpc/gen_ndr/cli_eventlog.c 2007-08-15 10:29:47 UTC (rev 24457) +++ branches/SAMBA_3_2/source/librpc/gen_ndr/cli_eventlog.c 2007-08-15 10:30:44 UTC (rev 24458) @@ -336,7 +336,7 @@ } /* Return variables */ - *data = *r.out.data; + memcpy(data, r.out.data, r.in.number_of_bytes); *sent_size = *r.out.sent_size; *real_size = *r.out.real_size; Modified: branches/SAMBA_3_2/source/librpc/gen_ndr/cli_netlogon.c =================================================================== --- branches/SAMBA_3_2/source/librpc/gen_ndr/cli_netlogon.c 2007-08-15 10:29:47 UTC (rev 24457) +++ branches/SAMBA_3_2/source/librpc/gen_ndr/cli_netlogon.c 2007-08-15 10:30:44 UTC (rev 24458) @@ -1404,7 +1404,7 @@ /* Return variables */ *count = *r.out.count; - *trusts = *r.out.trusts; + memcpy(trusts, r.out.trusts, count); /* Return result */ return werror_to_ntstatus(r.out.result); Modified: branches/SAMBA_3_2/source/librpc/gen_ndr/cli_winreg.c =================================================================== --- branches/SAMBA_3_2/source/librpc/gen_ndr/cli_winreg.c 2007-08-15 10:29:47 UTC (rev 24457) +++ branches/SAMBA_3_2/source/librpc/gen_ndr/cli_winreg.c 2007-08-15 10:30:44 UTC (rev 24458) @@ -376,7 +376,7 @@ *type = *r.out.type; } if ( value ) { - *value = *r.out.value; + memcpy(value, r.out.value, *r.in.size); } if ( size ) { *size = *r.out.size; @@ -628,7 +628,7 @@ *type = *r.out.type; } if ( data ) { - *data = *r.out.data; + memcpy(data, r.out.data, *r.in.data_size); } if ( data_size ) { *data_size = *r.out.data_size; @@ -1017,9 +1017,9 @@ } /* Return variables */ - *values = *r.out.values; + memcpy(values, r.out.values, r.in.num_values); if ( buffer ) { - *buffer = *r.out.buffer; + memcpy(buffer, r.out.buffer, *r.in.buffer_size); } *buffer_size = *r.out.buffer_size; Modified: branches/SAMBA_3_2/source/librpc/gen_ndr/svcctl.h =================================================================== --- branches/SAMBA_3_2/source/librpc/gen_ndr/svcctl.h 2007-08-15 10:29:47 UTC (rev 24457) +++ branches/SAMBA_3_2/source/librpc/gen_ndr/svcctl.h 2007-08-15 10:30:44 UTC (rev 24458) @@ -357,7 +357,7 @@ struct { struct policy_handle *handle;/* [ref] */ uint32_t NumArgs; - const char *Arguments;/* [unique,charset(UTF16),length_is(NumArgs)] */ + const char *Arguments;/* [unique,charset(UTF16)] */ } in; struct { @@ -560,7 +560,7 @@ struct { struct policy_handle *handle;/* [ref] */ uint32_t NumArgs; - const char *Arguments;/* [unique,charset(UTF16),length_is(NumArgs)] */ + const char *Arguments;/* [unique,charset(UTF16)] */ } in; struct {
