samba4/source/libcli/util/asn1.c integer

Love lha at stacken.kth.se
Mon Aug 30 22:53:20 GMT 2004


samba4/source/libcli/util/asn1.c:asn1_write_Integer will only work for
small positive intergers (>= 0 <= 127). For test cases see
heimdal/lib/asn1/check-der.c.

Now, this doesn't seem to matter except for the ldap stuff, the code will
fall over after 127 messages in the same connection.

And it doesn't matter for the SPNEGO, but that another bug. SPNEGO
ContextFlags isn't a INTEGER, its a BIT STRING, but it still doesn't matter
since microsoft's SPNEGO doesn't sent that field last I checked...

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/f071446f/attachment.bin


More information about the samba-technical mailing list