Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: fix batch dequeue potential buffer overflow
[ upstream commit af584d2 ] Similar as single dequeue, the multiple accesses of descriptor length will lead to potential risk. One-time access of descriptor length can eliminate this risk. Fixes: 75ed516 ("vhost: add packed ring batch dequeue") Signed-off-by: Marvin Liu <yong.liu@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information