Skip Menu |
 

Download (untitled) / with headers
text/plain 2.5KiB
From jbrezak@microsoft.com Wed Feb 3 21:50:55 1999
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id VAA10014 for <bugs@RT-11.MIT.EDU>; Wed, 3 Feb 1999 21:50:54 -0500
Received: from mail5.microsoft.com by MIT.EDU with SMTP
id AA22444; Wed, 3 Feb 99 21:50:52 EST
Received: by INET-IMC-05 with Internet Mail Service (5.5.2524.0)
id <D8W7CY92>; Wed, 3 Feb 1999 18:50:53 -0800
Message-Id: <FFD1BA74C6A7D111A09500805F9F88F507D25081@RED-MSG-43>
Date: Wed, 3 Feb 1999 18:50:50 -0800
From: John Brezak <jbrezak@microsoft.com>
To: "'krb5-bugs@mit.edu'" <krb5-bugs@MIT.EDU>
Subject: telnetd handling > 2k sized forwarded tickets

Show quoted text
>Number: 688
>Category: telnet
>Synopsis: telnetd handling > 2k sized forwarded tickets
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tytso
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Feb 03 21:51:00 EST 1999
>Last-Modified: Wed Feb 03 23:53:26 EST 1999
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->tytso
Responsible-Changed-By: tytso
Responsible-Changed-When: Wed Feb 3 23:53:03 1999
Responsible-Changed-Why: I'm fixing/fixed this.

State-Changed-From-To: open-closed
State-Changed-By: tytso
State-Changed-When: Wed Feb 3 23:53:13 1999
State-Changed-Why: Patch commited into mainline and 1.0 release branch


Show quoted text
>Unformatted:
I found that if you forward a ticket larger than 2k you it gets truncated
resulting in a message that the asn.1 decode failed.

*** ..\..\..\..\krb5-1.0.5\src\appl\telnet\telnetd\state.c Sat Feb 07
02:41
:48 1998
--- state.c Thu Feb 04 02:47:12 1999
***************
*** 50,56 ****
* Buffer for sub-options, and macros
* for suboptions buffer manipulations
*/
! unsigned char subbuffer[2048], *subpointer= subbuffer, *subend= subbuffer;

#define SB_CLEAR() subpointer = subbuffer
#define SB_TERM() { subend = subpointer; SB_CLEAR(); }
--- 50,57 ----
* Buffer for sub-options, and macros
* for suboptions buffer manipulations
*/
! unsigned char subbuffer[4096], *subpointer= subbuffer, *subend= subbuffer;

#define SB_CLEAR() subpointer = subbuffer
#define SB_TERM() { subend = subpointer; SB_CLEAR(); }


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Brezak * mailto:jbrezak@microsoft.com
Microsoft Corporation * 425-936-2602
One Microsoft Way
Redmond, WA 98052