Re: [dpdk-dev] [PATCH v2] vhost/vhost_crypto: do not use possibly NULL Pointers

2021-06-17 Thread Maxime Coquelin
On 5/24/21 11:08 AM, Thierry Herbelot wrote: > Use vc_req only after it was checked not to be NULL. > > Fixes: 2d962bb736521 ("vhost/crypto: fix possible TOCTOU attack") > Cc: sta...@dpdk.org > Cc: Maxime Coquelin > Cc: Chenbo Xia > > Signed-off-by: Thierry Herbelot > -- > V2: fix copy/past

Re: [dpdk-dev] [PATCH v2] vhost/vhost_crypto: do not use possibly NULL Pointers

2021-06-01 Thread Maxime Coquelin
Hi Thierry, On 5/24/21 11:08 AM, Thierry Herbelot wrote: > Use vc_req only after it was checked not to be NULL. > > Fixes: 2d962bb736521 ("vhost/crypto: fix possible TOCTOU attack") > Cc: sta...@dpdk.org > Cc: Maxime Coquelin > Cc: Chenbo Xia > > Signed-off-by: Thierry Herbelot > -- > V2: fix

[dpdk-dev] [PATCH v2] vhost/vhost_crypto: do not use possibly NULL Pointers

2021-05-24 Thread Thierry Herbelot
Use vc_req only after it was checked not to be NULL. Fixes: 2d962bb736521 ("vhost/crypto: fix possible TOCTOU attack") Cc: sta...@dpdk.org Cc: Maxime Coquelin Cc: Chenbo Xia Signed-off-by: Thierry Herbelot -- V2: fix copy/paste typo --- lib/vhost/vhost_crypto.c | 6 -- 1 file changed, 4 i