[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


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:

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

Can someone please review and commit this patch?

-------------- 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