[dpdk-dev] [PATCH 2/2] vhost/crypto: fix possible out of bound access
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Jan 4 18:24:50 CET 2019
On 1/4/19 12:22 PM, Fan Zhang wrote:
> This patch fixes a out of bound access possbility in vhost
> crypto. Originally the incorrect next descriptor index may
> cause the library read invalid memory content and crash
> the application.
>
> Cc: stable at dpdk.org
> Fixes: 3bb595ecd682 ("vhost/crypto: add request handler")
>
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
> lib/librte_vhost/vhost_crypto.c | 89 ++++++++++++++++++++++++-----------------
> 1 file changed, 53 insertions(+), 36 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list