[dpdk-dev] [PATCH] app/testpmd: wrong usage of fseek & ftell to determine filesize

Mrzyglod, DanielX T danielx.t.mrzyglod at intel.com
Wed Oct 4 15:09:00 CEST 2017


>>
>> 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.mrzyglod at intel.com>
>
>Acked-by: Beilei Xing <beilei.xing at intel.com>


Hi Jingjing
I would like to ask for a feedback about status of proposed fix.
Will it go for integration or does it need any other additional work.

Best regards
Daniel


More information about the dev mailing list