Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 2661 From mgerdts@aur.alcatel.com Thu Sep 20 13:37:47 2001 Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id NAA25357 for ; Thu, 20 Sep 2001 13:37:46 -0400 (EDT) Received: from aurms0.aur.alcatel.com (hostr41.alcatel.com [143.209.4.1]) by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id NAA01828 for ; Thu, 20 Sep 2001 13:37:46 -0400 (EDT) Received: from aursea.aur.alcatel.com (aursea [143.209.6.105]) by aurms0.aur.alcatel.com (8.11.3/8.11.3) with ESMTP id f8KHbEC29811; Thu, 20 Sep 2001 13:37:14 -0400 (EDT) Received: by aursea.aur.alcatel.com (8.11.4+Sun) id f8KHbD428366; Thu, 20 Sep 2001 13:37:13 -0400 (EDT) Message-Id: <200109201737.f8KHbD428366@aursea.aur.alcatel.com> Date: Thu, 20 Sep 2001 13:37:13 -0400 (EDT) From: michael.gerdts@usa.alcatel.com To: krb5-bugs@mit.edu Cc: mgerdts@aur.alcatel.com Subject: [PATCH] telnetd does not handle -w properly X-Send-Pr-Version: 3.99 >Number: 993 >Category: pending >Synopsis: telnetd does not handle -w properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: gnats-admin >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu Sep 20 13:38:00 EDT 2001 >Last-Modified: Thu Sep 20 15:00:23 EDT 2001 >Originator: Michael Gerdts >Organization: >Release: krb5-1.2.2 >Environment: System: SunOS aursea 5.9 Beta sun4u sparc SUNW,Ultra-60 Architecture: sun4 >Description: When telnetd is started as telnetd -w 32,nostriplocal, telnetd core dumps at telnetd.c:447 because optarg is NULL. The root cause of this is mis-initilization of valid_opts at telnetd.c:156. >How-To-Repeat: See description >Fix: Index: telnetd.c =================================================================== RCS file: /cvs-repository/krb5-1.2.2/src/appl/telnet/telnetd/telnetd.c,v retrieving revision 1.1 diff -c -r1.1 telnetd.c *** telnetd.c 2001/09/14 17:47:59 1.1 --- telnetd.c 2001/09/20 17:30:39 *************** *** 153,159 **** */ char valid_opts[] = { 'd', ':', 'h', 'k', 'L', ':', 'n', 'S', ':', 'U', ! 'w', #ifdef AUTHENTICATION 'a', ':', 'X', ':', #endif --- 153,159 ---- */ char valid_opts[] = { 'd', ':', 'h', 'k', 'L', ':', 'n', 'S', ':', 'U', ! 'w', ':', #ifdef AUTHENTICATION 'a', ':', 'X', ':', #endif >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: mitchb State-Changed-When: Thu Sep 20 14:59:26 EDT 2001 State-Changed-Why: This bug was fixed by a patch committed to the source tree on 4/27/01 >Unformatted: