numam-dpdk/examples/ioat
Bruce Richardson 92c981637f examples/ioat: handle failure case for ioat dequeue
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
Coverity issue: 350349
Fixes: 2328542ed8 ("examples/ioat: add rawdev copy mode")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-11-26 17:26:08 +01:00
..
ioatfwd.c examples/ioat: handle failure case for ioat dequeue 2019-11-26 17:26:08 +01:00
Makefile examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
meson.build examples/ioat: add new sample app for ioat driver 2019-10-27 17:57:41 +01:00