mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
patch #6528: the buffer used for IP_FRAG_USES_STATIC_BUF could be too small depending on MEM_ALIGNMENT
This commit is contained in:
parent
7b6c11360f
commit
96b788bea7
@ -72,6 +72,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2009-02-18 Simon Goldschmidt (Jonathan Larmour and Bill Auerbach)
|
||||||
|
* ip_frag.c: patch #6528: the buffer used for IP_FRAG_USES_STATIC_BUF could be
|
||||||
|
too small depending on MEM_ALIGNMENT
|
||||||
|
|
||||||
2009-02-16 Simon Goldschmidt
|
2009-02-16 Simon Goldschmidt
|
||||||
* sockets.h/.c, api_*.h/.c: fixed arguments of socket functions to match the standard;
|
* sockets.h/.c, api_*.h/.c: fixed arguments of socket functions to match the standard;
|
||||||
converted size argument of netconn_write to 'size_t'
|
converted size argument of netconn_write to 'size_t'
|
||||||
|
@ -608,7 +608,7 @@ nullreturn:
|
|||||||
|
|
||||||
#if IP_FRAG
|
#if IP_FRAG
|
||||||
#if IP_FRAG_USES_STATIC_BUF
|
#if IP_FRAG_USES_STATIC_BUF
|
||||||
static u8_t buf[LWIP_MEM_ALIGN_SIZE(IP_FRAG_MAX_MTU)];
|
static u8_t buf[LWIP_MEM_ALIGN_SIZE(IP_FRAG_MAX_MTU + MEM_ALIGNMENT - 1)];
|
||||||
#endif /* IP_FRAG_USES_STATIC_BUF */
|
#endif /* IP_FRAG_USES_STATIC_BUF */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user