[dpdk-dev] [PATCH 5/5] telemetry: fix buffer overrun if max bytes read
Laatz, Kevin
kevin.laatz at intel.com
Mon May 18 16:53:07 CEST 2020
On 12/05/2020 16:29, Ciara Power wrote:
> 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")
> Cc: ciara.power at intel.com
>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> ---
> lib/librte_telemetry/telemetry_legacy.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Kevin Laatz <kevin.laatz at intel.com>
More information about the dev
mailing list