Re: [tkined] Core dump on "dns name"

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Thu Jun 29 2000 - 15:18:55 MET DST


>>>>> Christian B Wiik writes:

Christian> Searched the archives, but couldn't see this mentioned:

Christian> % scotty % dns name 195.197.53.197 zsh: segmentation fault
Christian> (core dumped) scotty

Christian> The IP is special in that it returns 27 hostnames on a
Christian> regular 'host 195.197.53.197'.

Christian> Tried this on 3 different computers. All running different
Christian> RedHat releases. One with tcl/tk 8.3 and the others with
Christian> 8.0. Locally compiled scotty 2.1.10 on them all.

There is a #define MAXRESULT 10 in tnmDns.c. Increasing this number
helps to get things working. But there are obviously bounds checks
missing to prevent the core dump in the first place...

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:48 MET