Re: [Xen-devel] [PATCH v2 for-4.11 2/2] vpci: make sure handlers can deal with size == 0

2018-03-27 Thread Jan Beulich
>>> On 26.03.18 at 18:32, wrote: > The code is not prepared to handle such case, so just return early. In > the debug case add an assert. > > Reported-by: Coverity > Coverity ID: 1430809 > Signed-off-by: Roger Pau Monné Reviewed-by: Jan Beulich

[Xen-devel] [PATCH v2 for-4.11 2/2] vpci: make sure handlers can deal with size == 0

2018-03-26 Thread Roger Pau Monne
The code is not prepared to handle such case, so just return early. In the debug case add an assert. Reported-by: Coverity Coverity ID: 1430809 Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap