CVS update: samba/source/rpc_parse

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Aug 14 10:47:59 EST 2000


yjerry,

The Rules Are:

- prior to a N-byte quantity, align to N byte boundary.

therefore, you are correct in removing prs_align() before any 2-byte
quantity because prs_align() aligns to a 4-byte boundary.



On Sun, 13 Aug 2000, Gerald Carter wrote:

> 
> Date:	Sunday August 13, 2000 @ 0:51
> Author:	jerry
> 
> Update of /data/cvs/samba/source/rpc_parse
> In directory samba:/tmp/cvs-serv17978/rpc_parse
> 
> Modified Files:
> 	parse_spoolss.c 
> Log Message:
> removed the prs_align in spoolss_smb_io_unistr()  (JF, please check)
> as it was throwing things off when parsing buffers passed in SPOOLSS
> RPCs
> 
> fixed the unmarshalling of UNISTR arrays to be double NULL terminated
> 
> 
> 
> 
> jerry
> 
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals





More information about the samba-cvs mailing list