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