Files
scrcpy/app/src
Romain Vimont 9396ea6d42 Fix text input event segfault
The text input control_event was initially designed for mapping
SDL_TextInputEvent, limited to 32 characters.

For simplicity, the copy/paste feature was implemented using the same
control_event: it just sends the text to paste.

However, the pasted text might have a length breaking some assumptions:
 - on the client, the event max-size was smaller than the text
   max-length,
 - on the server, the raw buffer storing the events was smaller than the
   max event size.

Fix these inconsistencies, and encode the length on 2 bytes, to accept
more than 256 characters.

Fixes <https://github.com/Genymobile/scrcpy/issues/10>.
2018-03-09 22:30:10 +01:00
..
2018-01-18 17:25:13 +01:00
2018-02-16 15:03:50 +01:00
2018-01-29 14:52:22 +01:00
2018-03-09 22:30:10 +01:00
2018-03-09 22:30:10 +01:00
2018-03-07 18:07:02 +01:00
2018-01-29 14:52:22 +01:00
2018-01-29 14:52:22 +01:00
2018-03-08 21:36:04 +01:00
2018-02-16 00:57:48 +01:00
2017-12-12 15:25:15 +01:00
2018-02-15 11:22:48 +01:00
2018-02-15 11:22:48 +01:00
2018-02-15 11:22:48 +01:00
2018-02-15 11:22:48 +01:00
2018-02-05 14:46:00 +01:00
2018-03-07 18:07:02 +01:00
2018-02-13 10:10:18 +01:00
2017-12-18 11:07:42 +01:00
2018-02-13 10:10:18 +01:00
2018-03-07 18:07:02 +01:00
2018-02-16 15:36:25 +01:00
2018-02-16 15:03:50 +01:00
2018-02-08 15:43:28 +01:00
2018-02-09 16:19:50 +01:00
2018-03-07 18:04:39 +01:00
2017-12-12 15:25:15 +01:00
2018-02-08 15:26:08 +01:00
2018-02-13 10:10:18 +01:00
2018-02-08 15:26:08 +01:00