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 <bugs@RT-11.mit.edu>; 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 <krb5-bugs@mit.edu>; 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
Architecture: sun4
dumps at telnetd.c:447 because optarg is NULL. The root cause of
this is mis-initilization of valid_opts at telnetd.c:156.
===================================================================
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
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
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 <bugs@RT-11.mit.edu>; 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 <krb5-bugs@mit.edu>; 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
Show quoted text
>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>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:
Architecture: sun4
Show quoted text
>Description:
When telnetd is started as telnetd -w 32,nostriplocal, telnetd coredumps at telnetd.c:447 because optarg is NULL. The root cause of
this is mis-initilization of valid_opts at telnetd.c:156.
Show quoted text
>How-To-Repeat:
See descriptionShow quoted text
>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
Show quoted text
>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
Show quoted text
>Unformatted: