scrcpy/app/src
Yu-Chen Lin d80bc25eba Fix overflow in memcpy
In function ‘memcpy’,
    inlined from ‘control_msg_serialize.constprop’ at ../app/src/control_msg.c:77:5,
    inlined from ‘run_controller’ at ../app/src/controller.c:69:12:
        /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10:
        warning: ‘__builtin___memcpy_chk’ writing 262138 bytes into a region
        of size 262130 overflows the destination [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));

Refs 901d837165
PR #2859 <https://github.com/Genymobile/scrcpy/pull/2859>

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
2021-12-04 09:18:55 +01:00
..
android Fix typos 2021-04-18 14:36:31 +02:00
sys Fix process execution on Windows 7 2021-12-01 18:02:35 +01:00
trait Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
util Use static maps to convert input events 2021-11-29 21:15:07 +01:00
adb.c Add function to read an adb property 2021-11-29 20:39:03 +01:00
adb.h Add --tcpip feature 2021-11-29 20:39:03 +01:00
adb_parser.c Add function to find the device IP address 2021-11-29 20:39:03 +01:00
adb_parser.h Add function to find the device IP address 2021-11-29 20:39:03 +01:00
adb_tunnel.c Use flags for adb commands 2021-11-29 20:39:03 +01:00
adb_tunnel.h Extract adb tunnel to a separate component 2021-11-14 01:22:22 +01:00
aoa_hid.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
aoa_hid.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
cli.c Add --raw-key-events 2021-11-29 21:15:41 +01:00
cli.h Move scrcpy option structs to options.h 2021-10-27 18:43:47 +02:00
clock.c Improve slope estimation on start 2021-07-14 14:54:22 +02:00
clock.h Fix typo in clock comments 2021-10-29 12:21:34 +02:00
common.h Add container_of() macro 2021-04-25 14:38:42 +02:00
compat.c Add (v)asprintf compatibility functions 2021-11-24 19:55:00 +01:00
compat.h Add (v)asprintf compatibility functions 2021-11-24 19:55:00 +01:00
control_msg.c Fix comment in control message serialization 2021-12-04 09:18:43 +01:00
control_msg.h Fix overflow in memcpy 2021-12-04 09:18:55 +01:00
controller.c Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
controller.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
decoder.h Add support for v4l2loopback 2021-04-25 14:59:10 +02:00
device_msg.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
device_msg.h Add device clipboard set acknowledgement 2021-11-23 21:15:05 +01:00
events.h Run the server from a dedicated thread 2021-11-13 10:19:52 +01:00
file_handler.c Use flags for adb commands 2021-11-29 20:39:03 +01:00
file_handler.h Use sc_intr in file_handler 2021-11-18 21:33:25 +01:00
fps_counter.c Replace delay by deadline in timedwait() 2021-07-14 14:22:32 +02:00
fps_counter.h Wrap tick API 2021-07-14 14:22:32 +02:00
frame_buffer.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
frame_buffer.h Extract current video_buffer to frame_buffer 2021-07-14 14:22:32 +02:00
hid_keyboard.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
hid_keyboard.h Synchronize HID keyboard state on first event 2021-10-26 21:30:04 +02:00
icon.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
icon.h Add icon loader 2021-10-25 18:08:37 +02:00
input_manager.c Always synchronize clipboard on explicit COPY/CUT 2021-11-29 22:00:55 +01:00
input_manager.h Add option to disable clipboard autosync 2021-11-24 09:44:39 +01:00
keyboard_inject.c Add --raw-key-events 2021-11-29 21:15:41 +01:00
keyboard_inject.h Use enum for key injection mode 2021-11-29 21:15:32 +01:00
main.c Print scrcpy header first 2021-11-19 09:45:02 +01:00
mouse_inject.c Use static maps to convert input events 2021-11-29 21:15:07 +01:00
mouse_inject.h Move scrcpy option structs to options.h 2021-10-27 18:43:47 +02:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Use enum for key injection mode 2021-11-29 21:15:32 +01:00
options.h Add --raw-key-events 2021-11-29 21:15:41 +01:00
receiver.c Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
receiver.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
recorder.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
recorder.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
scrcpy.c Add --tcpip feature 2021-11-29 20:39:03 +01:00
scrcpy.h Move scrcpy option structs to options.h 2021-10-27 18:43:47 +02:00
screen.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
screen.h Make screen_render() static 2021-11-12 22:44:22 +01:00
server.c Add --tcpip feature 2021-11-29 20:39:03 +01:00
server.h Add --tcpip feature 2021-11-29 20:39:03 +01:00
stream.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
stream.h Use sc_ prefix for sockets 2021-10-26 22:49:45 +02:00
v4l2_sink.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
v4l2_sink.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
video_buffer.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
video_buffer.h Add buffering debugging tools 2021-07-14 14:54:22 +02:00