Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: validate index in available entries API
[ upstream commit 8c042f8 ] This patch validates the queue index parameter, in order to ensure neither out-of-bound accesses nor NULL pointer dereferencing happen. Fixes: a67f286 ("vhost: export queue free entries") Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
- Loading branch information