> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, August 18, 2017 10:18 PM > To: Xing, Beilei <beilei.x...@intel.com> > Cc: dev@dpdk.org; Mrzyglod, DanielX T <danielx.t.mrzyg...@intel.com> > Subject: [dpdk-dev] [PATCH] app/testpmd: wrong usage of fseek & ftell to > determine filesize > > This issue was about passing unsigned argument where should be signed > number. > In reality this is about wrong usage of fseek and ftell to determine filesize. > This patch is compliant to suggestions from FIO19-C: > "Do not use fseek() and ftell() to compute the size of a regular file" > > Coverity issue: 143454 > Fixes: a92a5a2cbbff ("app/testpmd: add command for loading DDP") > > Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyg...@intel.com>
Reviewed-by: Beilei Xing <beilei.x...@intel.com>