mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
fixed bug ##24596: Vulnerability on faulty TCP options length in tcp_parseopt
This commit is contained in:
parent
13a139eef7
commit
299e2a7077
@ -51,6 +51,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2008-10-18 Simon Goldschmidt
|
||||||
|
* tcp_in.c: fixed bug ##24596: Vulnerability on faulty TCP options length
|
||||||
|
in tcp_parseopt
|
||||||
|
|
||||||
2008-10-15 Simon Goldschmidt
|
2008-10-15 Simon Goldschmidt
|
||||||
* ip_frag.c: fixed bug #24517: IP reassembly crashes on unaligned IP headers
|
* ip_frag.c: fixed bug #24517: IP reassembly crashes on unaligned IP headers
|
||||||
by packing the struct ip_reass_helper.
|
by packing the struct ip_reass_helper.
|
||||||
|
@ -1308,7 +1308,7 @@ tcp_receive(struct tcp_pcb *pcb)
|
|||||||
static void
|
static void
|
||||||
tcp_parseopt(struct tcp_pcb *pcb)
|
tcp_parseopt(struct tcp_pcb *pcb)
|
||||||
{
|
{
|
||||||
u8_t c;
|
u16_t c;
|
||||||
u8_t *opts, opt;
|
u8_t *opts, opt;
|
||||||
u16_t mss;
|
u16_t mss;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user