[dpdk-stable] [PATCH 17.11] cryptodev: fix missing device id range checking

Luca Boccassi bluca at debian.org
Fri Feb 21 17:12:43 CET 2020


On Fri, 2020-02-21 at 16:40 +0100, Adam Dybkowski wrote:
> This patch adds range-checking of the device id passed from
> the user app code. It prevents out-of-range array accesses
> which in some situations resulted in an
> application crash (segfault).
> 
> Fixes: 72de277dd423 ("cryptodev: fix checks related to device id")
> 
> Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>

Thanks, applied and pushed.

Yu, would you have time to re-test the head of the 17.11 branch to see
if this fixes the issue with QAT?

Thanks!

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list