svn commit: samba r10432 - in branches: SAMBA_3_0/source/rpc_parse
SAMBA_3_0_RELEASE/source/rpc_parse
jerry at samba.org
jerry at samba.org
Thu Sep 22 19:21:28 GMT 2005
Author: jerry
Date: 2005-09-22 19:21:27 +0000 (Thu, 22 Sep 2005)
New Revision: 10432
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10432
Log:
BUG 3080: fix 'net rpc shutdown' for XP clients
Modified:
branches/SAMBA_3_0/source/rpc_parse/parse_reg.c
branches/SAMBA_3_0/source/rpc_parse/parse_shutdown.c
branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_reg.c
branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_shutdown.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_reg.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_reg.c 2005-09-22 18:49:23 UTC (rev 10431)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_reg.c 2005-09-22 19:21:27 UTC (rev 10432)
@@ -1484,8 +1484,9 @@
q_u->server = TALLOC_P( get_talloc_ctx(), uint16 );
*q_u->server = 0x1;
+ q_u->message = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 );
+
if ( msg && *msg ) {
- q_u->message = TALLOC_P( get_talloc_ctx(), UNISTR4 );
init_unistr4( q_u->message, msg, UNI_FLAGS_NONE );
/* Win2000 is apparently very sensitive to these lengths */
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_shutdown.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_shutdown.c 2005-09-22 18:49:23 UTC (rev 10431)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_shutdown.c 2005-09-22 19:21:27 UTC (rev 10432)
@@ -34,8 +34,9 @@
q_s->server = TALLOC_P( get_talloc_ctx(), uint16 );
*q_s->server = 0x1;
+ q_s->message = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 );
+
if ( msg && *msg ) {
- q_s->message = TALLOC_P( get_talloc_ctx(), UNISTR4 );
init_unistr4( q_s->message, msg, UNI_FLAGS_NONE );
/* Win2000 is apparently very sensitive to these lengths */
Modified: branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_reg.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_reg.c 2005-09-22 18:49:23 UTC (rev 10431)
+++ branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_reg.c 2005-09-22 19:21:27 UTC (rev 10432)
@@ -1484,8 +1484,9 @@
q_u->server = TALLOC_P( get_talloc_ctx(), uint16 );
*q_u->server = 0x1;
+ q_u->message = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 );
+
if ( msg && *msg ) {
- q_u->message = TALLOC_P( get_talloc_ctx(), UNISTR4 );
init_unistr4( q_u->message, msg, UNI_FLAGS_NONE );
/* Win2000 is apparently very sensitive to these lengths */
Modified: branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_shutdown.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_shutdown.c 2005-09-22 18:49:23 UTC (rev 10431)
+++ branches/SAMBA_3_0_RELEASE/source/rpc_parse/parse_shutdown.c 2005-09-22 19:21:27 UTC (rev 10432)
@@ -34,8 +34,9 @@
q_s->server = TALLOC_P( get_talloc_ctx(), uint16 );
*q_s->server = 0x1;
+ q_s->message = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 );
+
if ( msg && *msg ) {
- q_s->message = TALLOC_P( get_talloc_ctx(), UNISTR4 );
init_unistr4( q_s->message, msg, UNI_FLAGS_NONE );
/* Win2000 is apparently very sensitive to these lengths */
More information about the samba-cvs
mailing list