numam-dpdk/lib/librte_telemetry
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: b80fe1805e ("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
..
Makefile telemetry: fix build for armv7 2020-05-11 17:44:13 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
rte_telemetry_legacy.h telemetry: introduce backward compatibility 2020-05-11 00:37:15 +02:00
rte_telemetry_version.map telemetry: remove redundant code 2020-05-11 00:37:16 +02:00
rte_telemetry.h telemetry: keep threads separate from data plane 2020-05-19 15:05:56 +02:00
telemetry_data.c telemetry: add functions for returning callback data 2020-05-10 23:54:25 +02:00
telemetry_data.h telemetry: introduce new functionality 2020-05-10 23:53:57 +02:00
telemetry_json.h telemetry: add utility functions for creating JSON 2020-05-10 23:52:41 +02:00
telemetry_legacy.c telemetry: fix buffer overrun if max bytes read 2020-05-19 15:05:56 +02:00
telemetry.c telemetry: keep threads separate from data plane 2020-05-19 15:05:56 +02:00