libx52/daemon
nirenjan f2b0110380 Allow upto 1024 arguments
Prior to this change, it was possible for a malicious client to send a
buffer of 1024 NUL bytes, which would cause the parser to overflow the
argv array and eventually crash the program.

This change makes the length of the argv array the same as the length of
the recv buffer, which means that even an input of all 0 bytes would not
cause any issues. The client would just get a bunch of ERR responses in
return.
2021-11-07 15:07:10 -08:00
..
Makefile.am Add daemon command handler loop 2021-11-04 18:32:18 -07:00
daemon.dox Include default location of x52d.conf in documentation 2021-10-06 23:44:16 -07:00
x52ctl.c Fix x52d_send_command prototype 2021-11-07 05:40:08 -08:00
x52d.conf Indicate profiles are not yet supported. 2021-09-19 16:39:49 -07:00
x52d.service.in Revert "Enable verbose logging in systemd service" 2021-10-05 22:38:34 -07:00
x52d_clock.c Ignore changes to clock settings if clock is disabled 2021-08-30 12:01:41 -07:00
x52d_clock.h Add clock update functionality 2021-07-23 10:13:18 -07:00
x52d_comm_client.c Fix x52d_send_command prototype 2021-11-07 05:40:08 -08:00
x52d_comm_internal.c Make X52 daemon listen on a Unix socket 2021-11-04 13:48:18 -07:00
x52d_command.c Allow upto 1024 arguments 2021-11-07 15:07:10 -08:00
x52d_command.h Add daemon command handler loop 2021-11-04 18:32:18 -07:00
x52d_config.c Add 'config get' command to retrieve configuration 2021-11-07 07:52:11 -08:00
x52d_config.def Add framework for virtual mouse driver 2021-09-14 10:02:21 -07:00
x52d_config.h Add 'config get' command to retrieve configuration 2021-11-07 07:52:11 -08:00
x52d_config_dump.c Add 'config get' command to retrieve configuration 2021-11-07 07:52:11 -08:00
x52d_config_parser.c Add config set command to daemon command processor 2021-11-05 15:27:24 -07:00
x52d_const.h Make X52 daemon listen on a Unix socket 2021-11-04 13:48:18 -07:00
x52d_device.c Merge device acquisition and update threads 2021-09-15 00:17:20 -07:00
x52d_device.h Disable device check routine in daemon 2021-09-14 09:10:52 -07:00
x52d_io.c Fix use of libx52io return codes 2021-09-15 00:06:43 -07:00
x52d_io.h Create I/O thread to read and process events 2021-09-14 13:33:36 -07:00
x52d_led.c Print integer representation of LED state when setting it 2021-09-13 15:49:20 -07:00
x52d_main.c Add daemon command handler loop 2021-11-04 18:32:18 -07:00
x52d_mouse.c Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00
x52d_mouse.h Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00
x52d_mouse_evdev.c Allow for a greater range in mouse speeds 2021-09-19 16:39:49 -07:00
x52dcomm-internal.h Make X52 daemon listen on a Unix socket 2021-11-04 13:48:18 -07:00
x52dcomm.h Fix x52d_send_command prototype 2021-11-07 05:40:08 -08:00