[krbdev.mit.edu #3333] HP-UX 11.11 system include redefines SE - telnetd deadlock/clients hang

Public Submitter via RT rt-comment at krbdev.mit.edu
Mon Jan 9 17:34:25 EST 2006


As a result of this redefinition, telnetd sends the wrong SE (suboption
end) and some clients which rely on this for parsing hang (Putty,
Windows telnet, HP-UX stock telnet client etc), diff of fix to
src/appl/telnet/telnetd/telnetd.c follows (basically undef and redefine
right before main()):

217a218,225
> /* /usr/include/machine/cpu.h defines SE as 0x0200 on HP-UX 11.11 */
> #ifdef __hpux
> #undef SE
> #define SE 0xF0
> #endif /* __hpux */



More information about the krb5-bugs mailing list