Core Dumping Solution on FreeTDS-0.53pre1
JWE at homeaccess.net
Tue Nov 6 13:02:15 EST 2001
Unforturnatly, this is not the only place the code does a strlen on NULL
Back to the blank password, line 508 in the login.c file executes function
tds7_ascii2unicode which does a strlen of the password pointer. This also
causes a segfault. There seems to be a large number of locations where
this might be a problem.
> Looking it over tds7_send_login computes the strlen() three times for each
> of the login fields. So i moved all the strlen()'s up top and checked for
> null there. Changes are in CVS if someone cares to try it.
More information about the FreeTDS