Benjamin Berg
b4dbbd667a
upeksonly: Avoid reading beyond received packet boundary
...
The code would just read 4096 bytes from the packet, without checking
the size and neither setting short_is_error. It is not clear whether
packets from the device are always 4096 bytes or not. But the code
assume we always get a full line, so enforce that and use the actual
packet size otherwise.
2020-06-05 17:44:36 +02:00
..
2020-06-02 11:56:19 +00:00
2019-11-27 21:02:19 +01:00
2019-11-20 20:38:06 +01:00
2020-06-04 09:34:31 -07:00
2019-11-20 20:38:06 +01:00
2019-12-17 14:38:19 +01:00
2020-06-04 09:34:31 -07:00
2019-12-17 14:38:19 +01:00
2020-06-04 09:34:31 -07:00
2019-12-17 14:38:19 +01:00
2019-11-20 20:38:06 +01:00
2019-12-17 14:38:19 +01:00
2019-11-20 20:38:06 +01:00
2019-11-20 20:38:06 +01:00
2019-12-17 14:38:19 +01:00
2019-12-17 14:38:19 +01:00
2020-06-04 09:34:31 -07:00
2019-11-20 20:38:06 +01:00
2020-06-05 15:13:18 +00:00
2019-12-17 14:38:19 +01:00
2020-04-24 20:03:51 +02:00
2019-11-20 20:38:06 +01:00
2019-11-20 20:38:06 +01:00
2020-06-05 17:44:36 +02:00
2019-11-20 20:38:06 +01:00
2020-06-04 09:34:31 -07:00
2019-12-17 14:38:19 +01:00
2019-11-27 21:02:20 +01:00
2019-12-17 14:38:19 +01:00
2020-06-05 14:48:57 +00:00
2019-12-17 14:38:19 +01:00
2019-11-27 21:02:20 +01:00
2019-12-03 18:28:48 +01:00
2019-11-20 20:38:06 +01:00
2020-06-05 15:17:42 +00:00
2019-12-03 18:28:48 +01:00
2019-11-20 20:38:06 +01:00
2020-06-05 15:03:38 +00:00
2019-11-20 20:38:06 +01:00
2019-12-17 14:38:19 +01:00
2020-05-07 13:55:35 +00:00
2020-06-02 11:56:19 +00:00