[3288] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/1033: krb5-1.2.1/src/appl/telnet/telnetd/utility.c

daemon@ATHENA.MIT.EDU (David Y Yang)
Wed Dec 19 18:07:04 2001

Resent-From: gnats@rt-11.mit.edu (GNATS Management)
Resent-To: gnats-admin@rt-11.mit.edu
Resent-Reply-To: krb5-bugs@MIT.EDU, "David Y Yang" <yang@us.ibm.com>
Message-Id: <OF35F69ED6.BE721D39-ON85256B27.007E7F48@raleigh.ibm.com>
Date: Wed, 19 Dec 2001 18:06:31 -0500
From: "David Y Yang" <yang@us.ibm.com>
To: krb5-bugs@mit.edu


>Number:         1033
>Category:       pending
>Synopsis:       krb5-1.2.1/src/appl/telnet/telnetd/utility.c
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Wed Dec 19 18:07:00 EST 2001
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
This is a multipart message in MIME format.
--=_alternative 007FED8C85256B27_=
Content-Type: text/plain; charset="us-ascii"

I think this is a bug in the kerberized telnetd server in the debug 
messages:


yang@DYY //h $ diff -u utility.*
--- utility.c   Wed Dec 19 17:55:51 2001
+++ utility.yang        Wed Dec 19 17:56:57 2001
@@ -1045,7 +1045,7 @@
                                                        "CLIENT" : 
"SERVER",
                        ((pointer[i] & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) 
?
                                                        "MUTUAL" : 
"ONE-WAY",
-                       ((pointer[3] & AUTH_ENCRYPT_MASK) == 
AUTH_ENCRYPT_ON) ?
+                       ((pointer[i] & AUTH_ENCRYPT_MASK) == 
AUTH_ENCRYPT_ON) ?
                        "|ENCRYPT" : "");
                    nfrontp += strlen(nfrontp);
                    ++i;
yang@DYY //h $


David Y Yang
IBM z/OS Communications Server Development
P. O. Box 12195, 4205 S. Miami Blvd., RTP, NC  27709
phone: (919) 486-0831, tie line: 526-0831, fax: (919) 254-4028
yang@us.ibm.com
--=_alternative 007FED8C85256B27_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">I think this is a bug in the kerberized telnetd server in the debug messages:</font>
<br>
<br>
<br><font size=2 color=blue face="Courier New">yang@DYY //h $ diff -u utility.*</font>
<br><font size=2 color=blue face="Courier New">--- utility.c &nbsp; Wed Dec 19 17:55:51 2001</font>
<br><font size=2 color=blue face="Courier New">+++ utility.yang &nbsp; &nbsp; &nbsp; &nbsp;Wed Dec 19 17:56:57 2001</font>
<br><font size=2 color=blue face="Courier New">@@ -1045,7 +1045,7 @@</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;CLIENT&quot; : &quot;SERVER&quot;,</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ((pointer[i] &amp; AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) ?</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;MUTUAL&quot; : &quot;ONE-WAY&quot;,</font>
<br><font size=2 color=blue face="Courier New">- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ((pointer[3] &amp; AUTH_ENCRYPT_MASK) == AUTH_ENCRYPT_ON) ?</font>
<br><font size=2 color=blue face="Courier New">+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ((pointer[i] &amp; AUTH_ENCRYPT_MASK) == AUTH_ENCRYPT_ON) ?</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;|ENCRYPT&quot; : &quot;&quot;);</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nfrontp += strlen(nfrontp);</font>
<br><font size=2 color=blue face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ++i;</font>
<br><font size=2 color=blue face="Courier New">yang@DYY //h $</font>
<br>
<br>
<br><font size=2 face="sans-serif">David Y Yang<br>
IBM z/OS Communications Server Development<br>
P. O. Box 12195, 4205 S. Miami Blvd., RTP, NC &nbsp;27709<br>
phone: (919) 486-0831, tie line: 526-0831, fax: (919) 254-4028<br>
yang@us.ibm.com</font>
--=_alternative 007FED8C85256B27_=--

home help back first fref pref prev next nref lref last post