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

Love lha at
Tue Aug 31 11:03:05 GMT 2004

vlendec at writes:

> Author: vlendec
> Date: 2004-08-31 10:21:53 +0000 (Tue, 31 Aug 2004)
> New Revision: 2129
> WebSVN:
> 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 823 bytes
Desc: not available
Url :

More information about the samba-technical mailing list