CVS update: samba/source/rpc_parse

Luke Kenneth Casson Leighton lkcl at samba.org
Tue Aug 15 03:48:00 EST 2000


like there is in cliffs.  actually, prs_align() should be removed from all
rpc_*.c code and it should be added to prs_uint32 and prs_uint16.

On Mon, 14 Aug 2000, Elrond wrote:

> On Mon, Aug 14, 2000 at 10:47:59AM +1000, Luke Kenneth Casson Leighton wrote:
> > 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.
> 
> Maybe we should add a prs_align_x(ps, N); in TNG?
> 
> 
>     Elrond
> 

<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