xrdp/sesman
matt335672 34b5582460 Remove unnecessary copy from clipboard_get_files()
The routine clipboard_get_files() parses a potentially long string,
and copies portions of it into a temporary buffer. This buffer is then
passed to clipboard_get_file() as pointer + length;

The buffer is inadequately sized for very long filenames which may
approach XFS_MAXFILENAMELEN in length. This can cause chansrv to fail
when the user copies such filenames.

It turns out the buffer is unnecessary, as the filenames can be
passed directly into clipboard_get_file() from the source string,
using pointer + length. This avoids the length limitation entirely.
2024-08-02 12:41:20 +01:00
..
chansrv Remove unnecessary copy from clipboard_get_files() 2024-08-02 12:41:20 +01:00
libsesman Parameterise the sockdir with the UID of the user 2023-10-23 18:14:46 +01:00
sesexec enabled and fixed -Wmissing-prototypes compiler warnings 2024-04-23 18:38:20 +02:00
tools enabled and fixed -Wmissing-prototypes compiler warnings 2024-04-23 18:38:20 +02:00
Doxyfile preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +00:00
eicp_process.c Add libipm interfaces to sesman 2023-05-02 11:55:22 +01:00
eicp_process.h Add libipm interfaces to sesman 2023-05-02 11:55:22 +01:00
ercp_process.c Add libipm interfaces to sesman 2023-05-02 11:55:22 +01:00
ercp_process.h Add libipm interfaces to sesman 2023-05-02 11:55:22 +01:00
lock_uds.c Split g_file_open() into _ro() and _rw() variants 2023-05-15 17:38:31 -04:00
lock_uds.h Add lock_uds module to sesman 2022-04-18 09:09:46 +01:00
Makefile.am Include {xrdp,sesman}.ini.in instead of substituted .ini in tarball 2024-08-01 20:40:25 +09:00
notes.txt Move sesman to new SCP interface 2022-03-15 10:45:00 +00:00
pre_session_list.c Create pre-session list 2023-05-02 11:55:22 +01:00
pre_session_list.h Create pre-session list 2023-05-02 11:55:22 +01:00
reconnectwm.sh sesman: install empty reconnectwm.sh as a template 2017-06-20 13:40:05 +09:00
scp_process.c sesman: Copy IP address to pre_session_item struct 2024-07-19 11:57:55 +01:00
scp_process.h Rework sesman with new files 2023-05-02 11:55:23 +01:00
sesexec_control.c Add sesexec control module 2023-05-02 11:55:22 +01:00
sesexec_control.h Add sesexec control module 2023-05-02 11:55:22 +01:00
sesman.c Bump copyright year and make easier to bump 2024-02-21 19:09:34 +09:00
sesman.h Rework sesman with new files 2023-05-02 11:55:23 +01:00
sesman.ini.in Add params to allow xrdp to be run as non-root 2024-07-01 11:11:21 +01:00
session_list.c Fix session list processing 2024-06-01 10:31:58 +01:00
session_list.h Rework sesman with new files 2023-05-02 11:55:23 +01:00
sig.c Rework sesman with new files 2023-05-02 11:55:23 +01:00
sig.h Rework sesman with new files 2023-05-02 11:55:23 +01:00
startwm.sh change comment a bit 2023-02-22 20:59:37 +09:00