canyie e8787b5cfd Fix UB when remote process died
If remote process died, `xreadlink` fails and leaves `buf` uninitialized. Then the daemon calls `str_ends`, creates a temp `std::string_view` with the uninitialized buffer and undefined behavior occurs.
2022-08-02 12:54:54 -07:00
..
2022-07-24 06:14:49 -07:00
2022-07-23 13:51:56 -07:00
2022-07-24 06:14:49 -07:00
2022-07-24 05:45:23 -07:00
2022-07-23 13:51:56 -07:00
2022-07-23 13:51:56 -07:00
2022-07-23 13:51:56 -07:00
2022-07-23 13:51:56 -07:00
2022-07-23 13:51:56 -07:00
2022-08-02 12:54:54 -07:00
2022-07-23 13:51:56 -07:00
2022-07-24 05:39:14 -07:00
2022-07-23 13:51:56 -07:00
2022-07-23 13:51:56 -07:00
2022-07-24 06:14:49 -07:00
2022-07-24 06:14:49 -07:00
2022-07-23 13:51:56 -07:00