svn commit: samba r2129 - in trunk/source/libsmb: .

Love lha at stacken.kth.se
Tue Aug 31 11:03:05 GMT 2004


vlendec at samba.org writes:

> Author: vlendec
> Date: 2004-08-31 10:21:53 +0000 (Tue, 31 Aug 2004)
> New Revision: 2129
>
> WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/libsmb&rev=2129&nolog=1
>
> Log:
> ASN1 integers are a bit more difficult than first expected... This is an
> experimental commit. It survives the test cases Love sent to me, plus some
> more I tried. I know I should write an exhaustive test, but I think I caught
> them. Ethereal however does not like negative integers...

Almost, you should only zero pad the last octet (highest) in the positive
case. One value I think you code wrong is 0x01ff.

Love

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 823 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040831/22e6f05b/attachment.bin


More information about the samba-technical mailing list