On Mon, Nov 25, 2019 at 5:23 PM Bruce Richardson <bruce.richard...@intel.com> wrote: > > On Mon, Nov 25, 2019 at 03:23:03PM +0000, Bruce Richardson wrote: > > On a failure with the ioat dequeue, -1 is returned, which was not properly > > handled. This could lead to out-of-bounds reads on a later loop which > > assumed a positive return value. Fix this by treating an error as though a > > dequeue of 0 had been encountered. > > > > Coverity issue: 350342 > FYI: also should fix issue: 350349 > > > Fixes: 2328542ed84e ("examples/ioat: add rawdev copy mode") > > > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
Applied, thanks. -- David Marchand