[freetds] bug fixed

Matthew A. Davis azami at speakeasy.net
Tue Mar 9 09:37:44 EST 2004


freddy77 fixed this a couple of weeks ago.  See http://lists.ibiblio.org/pipermail/freetds/2004q1/015534.html in the freetds discussion archive.

Best Regards,
Matthew Davis

Patrick Rotsaert wrote:
> 
> I found a bug in query.c, function tds_skip_quoted_ucs2le
> I changed the line:
>         if (p[0] != quote || p[1])
> into:
>         if (p[0] != quote || p[1] || p == end)
> 
> I had a case where `end' pointed to a " character, so the loop did not
> end correctly.
> I am not sure if this is the normal way to report these kind of fixes,
> but I trust it will be dealt with ;-)
> 
> Regards,
> Patrick Rotsaert
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds

-- 
Matthew A. Davis  ( mailto:azami at speakeasy.net )
http://www.speakeasy.net/~azami

 "It's not always popular upholding the Constitution,
  but it's always the right thing to do."
                     -Senator Patrick J. Leahy (D-Vt)


More information about the FreeTDS mailing list