Browse Source

fixed bug #48476 (TCP sent callback called wrongly due to picking up old pcb->acked

STABLE-2_1_x
sg 10 years ago
parent
commit
421dab87e8
  1. 4
      CHANGELOG
  2. 1
      src/core/tcp_in.c

4
CHANGELOG

@ -321,6 +321,10 @@ HISTORY
++ Bugfixes:
2016-07-11: Simon Goldschmidt
* tcp_in.c: fixed bug #48476 (TCP sent callback called wrongly due to picking
up old pcb->acked
2016-06-30: Simon Goldschmidt (original patch by Fabian Koch)
* tcp_in.c: fixed bug #48170 (Vulnerable to TCP RST spoofing)

1
src/core/tcp_in.c

@ -398,6 +398,7 @@ tcp_input(struct pbuf *p, struct netif *inp)
goto aborted;
}
}
pcb->acked = 0;
}
if (recv_flags & TF_CLOSED) {
/* The connection has been closed and we will deallocate the

Loading…
Cancel
Save