freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: Core Dumping Solution on FreeTDS-0.53pre1
- Date: Tue, 6 Nov 2001 20:35:21 -0500 (EST)
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.
Brian
On Tue, 6 Nov 2001, Johnny Elliott wrote:
> Unforturnatly, this is not the only place the code does a strlen on NULL
> values.
>
> 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.
>
> Johnny
>
> > 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')
>
-
Core Dumping Solution on FreeTDS-0.53pre1,
Johnny Elliott, 11/05/2001
- <Possible follow-up(s)>
- Re: Core Dumping Solution on FreeTDS-0.53pre1, James Cameron, 11/05/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, Franco Gasperino, 11/05/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, Brian Bruns, 11/05/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, Johnny Elliott, 11/06/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, James Cameron, 11/06/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, Brian Bruns, 11/06/2001
- Re: Core Dumping Solution on FreeTDS-0.53pre1, Johnny Elliott, 11/07/2001
Archive powered by MHonArc 2.6.24.