Re: [dpdk-dev] [PATCH] net/virtio: fix of untrusted scalar value

2017-09-20 Thread Tan, Jianfeng
Hi, > -Original Message- > From: Mrzyglod, DanielX T > Sent: Wednesday, September 20, 2017 5:19 PM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Mrzyglod, DanielX T; Tan, Jianfeng > Subject: [PATCH] net/virtio: fix of untrusted scalar value > > The unscrutinized value may be incorrectly

Re: [dpdk-dev] [PATCH] net/virtio: fix of untrusted scalar value

2017-09-20 Thread Mrzyglod, DanielX T
This patch is for Coverity issue: 139601 Does it need v2 for updating Message Body ?

[dpdk-dev] [PATCH] net/virtio: fix of untrusted scalar value

2017-09-20 Thread Daniel Mrzyglod
The unscrutinized value may be incorrectly assumed to be within a certain range by later operations. In vhost_user_read: An unscrutinized value from an untrusted source used in a trusted context - the value of sz_payload may be harmfull and we need limit them to the max value of payload. Fixes: 6