[freetds] bug fixed

Patrick Rotsaert patrick.rotsaert at tts-online.be
Tue Mar 9 09:24:55 EST 2004


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




More information about the FreeTDS mailing list