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
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
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
3 matches
Mail list logo