From owner-freebsd-current Sun Jan 5 06:31:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA01157 for current-outgoing; Sun, 5 Jan 1997 06:31:39 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id GAA01146; Sun, 5 Jan 1997 06:31:15 -0800 (PST) Received: by sequent.kiae.su id AA09437 (5.65.kiae-2 ); Sun, 5 Jan 1997 17:25:37 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Sun, 5 Jan 97 17:25:36 +0300 Received: from localhost (nagual.ru [127.0.0.1]) by nagual.ru (8.8.4/8.8.4) with SMTP id RAA02364; Sun, 5 Jan 1997 17:22:55 +0300 (MSK) Date: Sun, 5 Jan 1997 17:22:54 +0300 (MSK) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7_=2F_Andrey_A=2E?= =?KOI8-R?Q?_Chernov?= To: FreeBSD-current , peter@freebsd.org, wpaul@freebsd.org, Garrett Wollman Subject: Serious bug in gethostbydns!!! Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk gethostbyname() now can't search some short valid DNS name like: "d133", "bed", "fade", etc. (Which looks like hexadecimal digits) doe to this stupid line in gethostbydns.c if (isxdigit(name[0]) || name[0] == ':') I.e. it convert this name to hexadecimal number and not search it as in normal case. Please, fix it! This bug was introduced from in v1.16 of gethostbydns.c -- Andrey A. Chernov http://www.nagual.ru/~ache/