[Mono-devel-list] [Patch]Bug in TDS 7.0 protocol implementation (SQL Server)
Jörg Rosenkranz
joergr at voelcker.com
Sun Oct 19 05:46:59 EDT 2003
Hello,
I have found a bug in the TDS 7.0 implementation. If a string
with length 0xFF (255) is returned it is interpreted as special
value. The TDS implementation returns null and all subsequent
data fields are not interpreted correctly.
I have filed following bug for this behaviour:
http://bugzilla.ximian.com/show_bug.cgi?id=49835
I have attached a patch to solve this problem. I don't know
why there have been a check 'len == 0xFF'. After removing it
the test program works against SQL Server 7.0 and SQL Server
2000.
Can someone please review and commit this patch?
Thanks,
Jörg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mono.Data.Tds.Protocol_49835.diff
Type: application/octet-stream
Size: 1219 bytes
Desc: Mono.Data.Tds.Protocol_49835.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031019/c94f37c9/attachment.obj
More information about the Mono-devel-list
mailing list