[dpdk-dev] [PATCH] app/crypto-perf: fix possible overflow

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Mon Apr 17 23:44:52 CEST 2017



> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Tuesday, April 11, 2017 3:43 PM
> To: dev at dpdk.org
> Cc: Doherty, Declan; stable at dpdk.org; De Lara Guarch, Pablo
> Subject: [PATCH] app/crypto-perf: fix possible overflow
> 
> In the latency test, when number of enqueued operations
> is less than the burst size, the timestamp value of the
> non-enqueued operations was being stored, even though
> those operations were being freed.
> 
> This could cause an array overflow, since it could store
> more values than the total number of operations.
> 
> Fixes: 5d75fb09d3be ("app/crypto-perf: fix invalid latency for QAT")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>

Applied to dpdk-next-crypto.

Pablo


More information about the dev mailing list