Core Dumping Solution on FreeTDS-0.53pre1
camber at ais.org
Tue Nov 6 20:35:21 EST 2001
Ok, put some check in to return if the input values to tds7_unicode2ascii
and tds7_ascii2unicode are null.
Seems to be all TDS 7 specific stuff, that was not as careful as I
should have been.
On Tue, 6 Nov 2001, Johnny Elliott wrote:
> Unforturnatly, this is not the only place the code does a strlen on NULL
> For instance:
> 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.
> > Ok,
> > 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.
> > Brian
> You are currently subscribed to freetds as: [camber at ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
More information about the FreeTDS