Skip to Content.
Sympa Menu

freetds - Fix for VARBINARY

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT franklin.oit.unc.edu>
  • Subject: Fix for VARBINARY
  • Date: 17 Nov 2002 11:07:15 +0100


This type had many problems:
- conversions to VARBINARY was unavailable
- unsupported VARBINARY > 255 (mssql7+)
(also a bad buffer overflow was spotted)
This was fixed saving VARBINARY in libtds in the same way of BINARY (a
simple array of bytes). This has some drawbacks:
- conversion to VARBINARY are trivial (the good one)
- libraries should handle "conversion" from libtds VARBINARY to library
VARBINARY. It seem that dblib/ctlib do not return VARBINARY type.. quite
strange.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page