On Fri, 30 Jul 2004 15:49:18 +0100
Ollie Cook <[EMAIL PROTECTED]> wrote:

>     limits=0xbfbffa20, options=27, copt=0x80564c0) at scanner.c:240
> 240                 if ((he = gethostbyname(cpt->strarg)) == 0) {
> (gdb) p cpt->strarg
> $7 = 0x805a0c0 "80.168.70.183"
> 
> Since the call to gethostbyname has a valid argument, I'm guessing
> there's probably some memory corruption causing this crash.

The attached patch should fix the problem.

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Fri Jul 30 19:50:14 CEST 2004

Attachment: gh_fix.patch
Description: Binary data

Attachment: pgpfC2V15DARU.pgp
Description: PGP signature

Reply via email to