Changes between Initial Version and Version 1 of Ticket #3859, comment 23


Ignore:
Timestamp:
08/06/20 17:28:52 (4 years ago)
Author:
Sebastian Huber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3859, comment 23

    initial v1  
    1 The proposed fix doesn't work. If you close a telnet session the telnet server and worker are blocked somehow.
     1The proposed fix doesn't work. If you close a telnet session and try to connect again the target crashes with a NULL pointer access:
     2{{{
     3#0  fileno (f=0x0) at ../../../../../../../../gnu-mirror-gcc-c72a1b6/newlib/libc/stdio/fileno.c:69
     4#1  0x0042e866 in rtems_shell_main_loop (shell_env=0x0) at ../../../cpukit/libmisc/shell/shell.c:910
     5#2  0x00104880 in telnet_shell (name=0x774600 "/dev/pty4", arg=0x0) at ../../testsuite/media01/test_main.c:133
     6#3  0x004113e8 in telnetd_session_task (arg=7816628) at ../../../cpukit/telnetd/telnetd.c:179
     7#4  0x00425f78 in _Thread_Handler () at ../../../cpukit/score/src/threadhandler.c:143
     8}}}