[krbdev.mit.edu #3422] HPUX 11.11 Redefines SE - Causes telnetd deadlock
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Fri Jun 16 23:36:15 EDT 2006
[nate.yocom at centrify.com - Thu Jan 26 22:14:55 2006]:
> /usr/include/machine/cpu.h redefines SE on HP-UX 11.11. SE is the
> suboption end byte sent by telnet server/clients to signify the end of a
> suboption command. When redefined, this results in the server sending
> 0x00 instead of the correct 0xF0. Many clients (Windows telnet, putty,
> and stock HPUX telnet) fail to parse the suboption correctly and as a
> result don't respond to it and go into a wait state for more data from
> the server - while the server is in a wait looking for the clients
> response, resulting in a 'deadlocked' session. The attached patch
> forces the definition of SE on the HPUX platform before its used in
> telnetd.c.
We have other files using SE; do they not run into the same problem? If
not, why not? If so, we shouldn't fix it independently in every file if
we can avoid it.
Perhaps we should work around this in our arpa/telnet.h instead?
More information about the krb5-bugs
mailing list