[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #50829] [CPPCHECK] Array index used before limits chec

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #50829] [CPPCHECK] Array index used before limits check.
Date: Thu, 20 Apr 2017 15:47:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Follow-up Comment #2, bug #50829 (project lwip):

I'll have to add that this is a false positive.
'offset_max' is *not* a limit of the 'options' "array". Instead, 'options' is
a pointer into a pbuf, the length is checked at the end of the array.
This change doesn't hurt, but it does not fix anything!


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]