Romain Vimont 6d41c53b61 Fix adb connect parsing
The function assumed that the raw output of "adb connect" was a
NUL-terminated string, but it is not the case.

It this output did not end with a space or a new line character, then
sc_str_truncate() would write '\0' over the last character. Even worse,
if the output was empty, then sc_str_truncate() would write
out-of-bounds.

Avoid the error-prone sc_str_truncate() util function.
2022-02-06 14:31:32 +01:00
..
2022-02-06 14:31:32 +01:00
2022-02-06 14:30:07 +01:00
2022-02-04 08:39:10 +01:00
2022-01-29 15:44:52 +01:00