c7d08bd9e7
Test case: On a system running xrdp with no sessions running run:
xrdp-sesadmin -u=<user> -p=<password> -c=list
Expected result: "No sessions." (ignoring debug output)
Observed result: "Error getting session list."
In the SCP_SERVER_STATE_MNG_LISTREQ case in scp_v1_mng_process() if
there are no sessions it ends the scp session, which causes an error in
the client. In commit
|
||
---|---|---|
.. | ||
libscp_commands_mng.h | ||
libscp_commands.h | ||
libscp_connection.c | ||
libscp_connection.h | ||
libscp_init.c | ||
libscp_init.h | ||
libscp_lock.c | ||
libscp_lock.h | ||
libscp_session.c | ||
libscp_session.h | ||
libscp_tcp.c | ||
libscp_tcp.h | ||
libscp_types_mng.h | ||
libscp_types.h | ||
libscp_v0.c | ||
libscp_v0.h | ||
libscp_v1c_mng.c | ||
libscp_v1c_mng.h | ||
libscp_v1c.c | ||
libscp_v1c.h | ||
libscp_v1s_mng.c | ||
libscp_v1s_mng.h | ||
libscp_v1s.c | ||
libscp_v1s.h | ||
libscp_vX.c | ||
libscp_vX.h | ||
libscp.h | ||
Makefile.am |