Browse Source

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

STABLE-2_1_x
goldsimon 18 years ago
parent
commit
299e2a7077
  1. 4
      CHANGELOG
  2. 2
      src/core/tcp_in.c

4
CHANGELOG

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

2
src/core/tcp_in.c

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

Loading…
Cancel
Save