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

@@ -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;