svn commit: samba r8148 - in branches/SAMBA_4_0/source: auth/kerberos include librpc librpc/idl librpc/ndr torture/auth

Andrew Bartlett abartlet at samba.org
Mon Jul 4 22:39:25 GMT 2005


On Mon, 2005-07-04 at 15:42 +0000, metze at samba.org wrote:
> Author: metze
> Date: 2005-07-04 15:42:08 +0000 (Mon, 04 Jul 2005)
> New Revision: 8148
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8148
> 
> Log:
> - make the PAC generation code a bit more readable and add some outof memory checks
> 
> - move to handmodified pull/push code for PAC_BUFFER
>   to get the _ndr_size field and the subcontext size right

I don't think we are doing that right yet.  Remember, the problem is
that the subcontext is padded behind, but the size in the structure is
not rounded, it is the real size of the NDR data contained within.

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050705/1671a744/attachment.bin


More information about the samba-technical mailing list