Thread (4 messages) 4 messages, 3 authors, 2021-06-17

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

From: Maxime Coquelin <hidden>
Date: 2021-06-17 16:49:44


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: stable@dpdk.org
Cc: Maxime Coquelin <redacted>
Cc: Chenbo Xia <redacted>

Signed-off-by: Thierry Herbelot <redacted>
--
V2: fix copy/paste typo
---
 lib/vhost/vhost_crypto.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Applied to dpdk-next-virtio/main.

Thanks,
Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help