scrcpy/app/src/adb
Romain Vimont 669e9a8d1e Fix "ip route" parsing
If a line did not end with '\r', then the final `\n' was replaced by
'\0' for parsing the current line. This `\0` was then mistakenly
considered as the end of the whole "ip route" output, so the remaining
lines were not parsed, causing "scrcpy --tcpip" to fail in some cases.

To fix the issue, read the final character of the current line before it
is (possibly) overwritten by '\0'.
2023-04-02 19:30:23 +02:00
..
adb.c Add missing LOG_OOM() on malloc failure 2022-07-19 12:15:06 +02:00
adb.h Consider emulators as TCP/IP devices 2022-03-22 21:08:08 +01:00
adb_device.c Add missing include 2022-04-12 23:51:05 +02:00
adb_device.h Consider emulators as TCP/IP devices 2022-03-22 21:08:08 +01:00
adb_parser.c Fix "ip route" parsing 2023-04-02 19:30:23 +02:00
adb_parser.h Rename function to simplify 2022-06-09 15:02:42 +02:00
adb_tunnel.c Use random name for device socket 2023-01-27 21:51:59 +01:00
adb_tunnel.h Use random name for device socket 2023-01-27 21:51:59 +01:00