[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-242-gc6dd2c9

Matthias Dieter Wallnöfer mdw at samba.org
Fri Sep 11 11:20:40 MDT 2009


The branch, master has been updated
       via  c6dd2c9552b79c0cf68b91cfa6aed3c399323850 (commit)
      from  a1cf12e1f69a9c1f062ca12e2981a45f9ea27d37 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c6dd2c9552b79c0cf68b91cfa6aed3c399323850
Author: Matthieu Patou <mat at matws.net>
Date:   Fri Sep 11 19:57:04 2009 +0400

    s4: Fix parsing of CSDVersion: treat this field as an string null terminated.
    
     CDSVersion field contains one utf16 string and then garbage which pertubated the parsing.
     We use subcontext to clearly define the size of the whole blob and then let the parser to find
     the real length of the string.
     This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines.

-----------------------------------------------------------------------

Summary of changes:
 librpc/idl/netlogon.idl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl
index 7ffc9f2..1cc0f2b 100644
--- a/librpc/idl/netlogon.idl
+++ b/librpc/idl/netlogon.idl
@@ -1287,7 +1287,7 @@ interface netlogon
 		uint32 MinorVersion;
 		uint32 BuildNumber;
 		uint32 PlatformId;
-		[charset(UTF16)] uint16 CSDVersion[128];
+		[subcontext(0),subcontext_size(256)] nstring CSDVersion;
 		uint16 ServicePackMajor;
 		uint16 ServicePackMinor;
 		netr_SuiteMask SuiteMask;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list