Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in hfaxd.



>>>>> "Steve" == Steve Williams <steve@genie96.com> writes:

>>  I'm using FreeBSD-2.2.1-RELEASE and hylafax-4.0p1.  This doesn't
>> have anything to do with the modem (and I can't really identify it
>> anyways).  The stock hfaxd program core dumps on FreeBSD when
>> invoked with the -i option, after someone connects or when invoked
>> with the -I option.  I've tracked down the offending code... in the
>> following code, hp turns up NULL for some reason.  Extending the if
>> around the code solves the problem.
>> 

Steve> Well, looking at the code, it looks like a legitimate bug to
Steve> me.  After all, if hp is null, the memcpy line is going to puke
Steve> big time...., maybe even dump a big core <g>.

	It catches it's signal, actually... then dies.

Steve> Have you been able to determin why the gethostbyname is
Steve> failing?

	I havn't looked, but it's very possible that the hostname that
the machine thinks it is points nowhere... but I don't have access to
the machine anymore.

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://www.velocet.net/~dgilbert             |   are precisely opposite.  |
=========================================================GLO================



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services