vhost/crypto: fix missed request check for copy mode
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 28 Sep 2020 10:59:15 +0000 (11:59 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 28 Sep 2020 11:17:08 +0000 (13:17 +0200)
commitb2866f4733698bcdba063daf3d73f0bf045ee7ac
tree97051106c2d0ac42cc43874a52b90a6c426c26e9
parent5677e68c05d8b205b121e8f54f3eab61990b77eb
vhost/crypto: fix missed request check for copy mode

This patch fixes the missed request check to vhost crypto
copy mode.

CVE-2020-14376
CVE-2020-14377
Fixes: 3bb595ecd682 ("vhost/crypto: add request handler")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
lib/librte_vhost/vhost_crypto.c