Ciara Power
a0c21662b4
telemetry: fix buffer overrun if max bytes read
...
If 1024 bytes were received over the socket, this caused
buffer_recvf[bytes] to overrun the array. The size of the buffer - 1 is
now passed to the read function.
Coverity issue: 358442
Fixes: b80fe1805eee ("telemetry: introduce backward compatibility")
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
2020-05-19 15:05:56 +02:00
..
2020-04-16 18:16:18 +02:00
2020-05-11 13:17:43 +02:00
2019-11-20 23:05:39 +01:00
2020-04-14 16:22:34 +02:00
2020-03-31 13:08:55 +02:00
2020-04-16 18:30:58 +02:00
2020-04-14 16:22:34 +02:00
2020-05-11 13:17:43 +02:00
2020-04-21 11:34:09 +02:00
2020-05-19 15:05:56 +02:00
2020-04-16 18:16:46 +02:00
2020-05-11 22:27:39 +02:00
2020-05-02 12:31:57 +02:00
2020-04-14 16:22:34 +02:00
2020-04-14 16:22:34 +02:00
2020-05-05 23:32:02 +02:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-05-18 13:54:36 +02:00
2020-04-25 15:15:27 +02:00
2020-05-11 13:17:43 +02:00
2019-11-20 23:05:39 +01:00
2020-02-14 11:59:01 +01:00
2020-05-19 15:05:56 +02:00
2020-01-20 01:32:50 +01:00
2020-04-24 19:29:02 +02:00
2020-04-25 22:56:10 +02:00
2019-11-20 23:05:39 +01:00
2020-05-06 13:50:32 +02:00
2020-05-05 00:25:34 +02:00
2020-05-19 14:05:21 +02:00
2020-04-25 15:15:27 +02:00
2020-05-13 15:38:50 +02:00
2020-05-19 11:18:38 +02:00
2020-04-21 11:34:09 +02:00
2020-04-16 18:16:46 +02:00
2020-04-21 11:34:09 +02:00
2020-04-16 18:30:58 +02:00
2020-05-11 00:37:16 +02:00
2020-04-22 20:46:00 +02:00
2019-11-20 23:05:39 +01:00
2020-04-14 16:22:34 +02:00
2020-05-11 19:20:54 +02:00
2020-04-16 18:16:18 +02:00
2020-04-23 17:56:38 +02:00
2020-04-14 16:22:34 +02:00
2020-03-18 00:59:17 +01:00
2020-05-19 15:05:56 +02:00
2020-04-26 22:07:38 +02:00
2020-05-18 20:35:57 +02:00
2020-05-11 00:37:16 +02:00
2020-05-11 00:37:16 +02:00