fixed bug ##24596: Vulnerability on faulty TCP options length in tcp_parseopt

This commit is contained in:
goldsimon 2008-10-18 15:24:06 +00:00
parent 13a139eef7
commit 299e2a7077
2 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,10 @@ HISTORY
++ 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
* ip_frag.c: fixed bug #24517: IP reassembly crashes on unaligned IP headers
by packing the struct ip_reass_helper.

View File

@ -1308,7 +1308,7 @@ tcp_receive(struct tcp_pcb *pcb)
static void
tcp_parseopt(struct tcp_pcb *pcb)
{
u8_t c;
u16_t c;
u8_t *opts, opt;
u16_t mss;