From owner-freebsd-bugs Mon Jul 10 14:20: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BB2637BA87 for ; Mon, 10 Jul 2000 14:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA07224; Mon, 10 Jul 2000 14:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id CF9F537B7A9 for ; Mon, 10 Jul 2000 14:15:04 -0700 (PDT) (envelope-from ambrisko@whistle.com) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id OAA41517 for ; Mon, 10 Jul 2000 14:11:36 -0700 (PDT) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id OAA15710; Mon, 10 Jul 2000 14:11:25 -0700 (PDT) (envelope-from ambrisko) Message-Id: <200007102111.OAA15710@whistle.com> Date: Mon, 10 Jul 2000 14:11:25 -0700 (PDT) From: ambrisko@whistle.com Reply-To: ambrisko@whistle.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/19835: telnet -X SRA core dump Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19835 >Category: bin >Synopsis: Fix core dump when disabling SRA authentication (telnet -X SRA) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 10 14:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Doug Ambrisko >Release: FreeBSD 5.0-CURRENT i386 >Organization: Whistle/IBM >Environment: US release >Description: "telnet -X SRA" results in a core dump. This is due to a NULL pointer passed to strcasecmp in libtelnet. So this also effect telnetd as well. >How-To-Repeat: >Fix: Index: auth.c =================================================================== RCS file: /cvs/freebsd/src/crypto/telnet/libtelnet/auth.c,v retrieving revision 1.3 diff -c -r1.3 auth.c *** auth.c 1999/08/16 11:24:25 1.3 --- auth.c 2000/07/10 21:03:07 *************** *** 249,255 **** { int x; for (x = 0; x < AUTHTYPE_CNT; ++x) { ! if (!strcasecmp(name, AUTHTYPE_NAME(x))) { i_wont_support |= typemask(x); break; } --- 249,255 ---- { int x; for (x = 0; x < AUTHTYPE_CNT; ++x) { ! if (AUTHTYPE_NAME(x) && !strcasecmp(name, AUTHTYPE_NAME(x))) { i_wont_support |= typemask(x); break; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message