Hi,

here is the actual backtrace..

Loaded symbols for /lib/ld-linux.so.2
#0  0x0804b15c in telrcv () at state.c:214
214                          else ch = *slctab[SLC_EL].sptr;
(gdb) bt
#0  0x0804b15c in telrcv () at state.c:214
#1  0x0804d4e6 in ttloop () at utility.c:159
#2  0x08049fb5 in getterminaltype (name=0xbfbc38a0 "") at telnetd.c:453
#3  0x0804a42c in doit (who=0xbfbc3a10) at telnetd.c:670
#4  0x08049d3b in main (argc=0, argv=0xbfbc3a98, env=0xbfbc3a9c) at
telnetd.c:342
#5  0x4003c3b6 in object.2 () from /lib/libc.so.6
(gdb) f 0
#0  0x0804b15c in telrcv () at state.c:214
214                          else ch = *slctab[SLC_EL].sptr;
(gdb) p slctab
$1 = {{defset = {flag = 0 '\000', val = 0 '\000'}, current = {flag = 0
'\000', val = 0 '\000'}, sptr = 0x0} <repeats 19 times>}
(gdb) p slctab[11]
$2 = {defset = {flag = 0 '\000', val = 0 '\000'}, current = {flag = 0
'\000', val = 0 '\000'}, sptr = 0x0}
(gdb) p slctab[11].sptr
$3 = (cc_t *) 0x0
(gdb)


I can handle this NULL check but not sure of the root cause if this. Since I
do not have much knowledge on telnetd code base, could you please help me
out here. I am running netkit-telnet-0.17

Thanks,
Anand

Reply via email to