lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9294] memp: Fix memp_overflow_check_element_underfl


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #9294] memp: Fix memp_overflow_check_element_underflow/overflow assertion
Date: Thu, 23 Mar 2017 07:35:00 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Follow-up Comment #3, patch #9294 (project lwip):

Really? Let me rephrase your test:
p = p + 72;
p1 = p + 72;
ASSERT(p1 == p);

That can't work (the 2nd line works on a changed 'p'). I don't think the added
size_t cast fixes anything. I assume you do have memp overflows but I don't
understand why you think it is fixed after adding the extra cast.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9294>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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