[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #6528] lwIP crash with large ICMP messages.
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #6528] lwIP crash with large ICMP messages. |
Date: |
Tue, 17 Feb 2009 05:16:28 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 |
Follow-up Comment #6, patch #6528 (project lwip):
I just remembered why ram_heap is MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) +
MEM_ALIGNMENT: I wanted the user to be able to allocate MEM_SIZE at minimum.
And since we need one struct mem at the start and one at the end, we need
2*SIZEOF_STRUCT_MEM. Ok, maybe '+ MEM_ALIGMENT - 2' would be enough, but those
2 bytes... We can change that, but I prefer it the way it is now.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6528>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #6528] lwIP crash with large ICMP messages.,
Simon Goldschmidt <=