Skip to Content.
Sympa Menu

freetds - Re: Core Dumping Solution on FreeTDS-0.53pre1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <cameron AT stl.dec.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Core Dumping Solution on FreeTDS-0.53pre1
  • Date: Wed, 07 Nov 2001 09:06:32 +1100


Even so, a blanket macro that makes strlen ignore a NULL pointer isn't
really going to help much ... because invariably the next line of code
is going to need a string pointer that isn't NULL. Taken down one bug
only to expose the real one. If a string is to be zero length, it has
to point to a NUL character, not have a pointer value of NULL.

--
James Cameron (james.cameron AT compaq.com)

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/




Archive powered by MHonArc 2.6.24.

Top of Page