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: sta...@dpdk.org
Fixes: 3bb595ecd682 ("vhost/crypto: add request handler")

Signed-off-by: Fan Zhang <roy.fan.zh...@intel.com>
---
  lib/librte_vhost/vhost_crypto.c | 89 ++++++++++++++++++++++++-----------------
  1 file changed, 53 insertions(+), 36 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to