Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost/crypto: check request pointer before dereference
[ upstream commit 9cfbe67 ] Use vc_req only after it was checked not to be NULL. Fixes: 2d962bb ("vhost/crypto: fix possible TOCTOU attack") Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information