mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-13 11:47:00 +08:00
fixed bug ##24596: Vulnerability on faulty TCP options length in tcp_parseopt
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user