Subject: | HP-UX 11.11 system include redefines SE - telnetd deadlock/clients hang |
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
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
Show quoted text
> /* /usr/include/machine/cpu.h defines SE as 0x0200 on HP-UX 11.11 */
> #ifdef __hpux
> #undef SE
> #define SE 0xF0
> #endif /* __hpux */
> #ifdef __hpux
> #undef SE
> #define SE 0xF0
> #endif /* __hpux */