[dpdk-dev] [PATCH v2] net/virtio-user: fix overflow

Yuanhan Liu yuanhan.liu at linux.intel.com
Wed Mar 15 09:08:20 CET 2017


On Tue, Mar 14, 2017 at 10:09:56AM +0000, Wenfeng Liu wrote:
> virtio-user limits the qeueue number to 8 but provides no limit
> check against the queue number input from user. If a bigger queue
> number (> 8) is given, there is an overflow issue. Doing a sanity
> check could avoid it.
> 
> Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wenfeng Liu <liuwf at arraynetworks.com.cn>

Applied to dpdk-next-virtio.

Thanks.

	--yliu


More information about the dev mailing list