> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Daniel Mrzyglod > Sent: Friday, August 18, 2017 10:18 PM > To: Xing, Beilei <[email protected]> > Cc: [email protected]; Mrzyglod, DanielX T <[email protected]> > 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 <[email protected]>
Reviewed-by: Beilei Xing <[email protected]>

