Fixed bug #46365: tcp_accept_null() should call tcp_abort()

This commit is contained in:
goldsimon 2015-11-12 10:40:49 +01:00
parent c838e1ed5b
commit 92a241a29e
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@ HISTORY
++ New features:
2015-11-12: Dirk Ziegelmeier
* Implement possibility to declare private memory pools. This is useful to
decouple some apps from the core (SNMP stack) or make contrib app useage
simpler (httpserver_raw)
2015-10-09: Simon Goldschmidt
* started to move "private" header files containing implementation details to
"lwip/priv/" include directory to seperate the API from the implementation.
@ -287,6 +292,9 @@ HISTORY
++ Bugfixes:
2015-11-12: fix by Valery Ushakov
* tcp_in.c: fixed bug #46365 tcp_accept_null() should call tcp_abort()
2015-10-02: Dirk Ziegelmeier/Simon Goldschmidt
* snmp: cleaned up snmp structs API (fixed race conditions from bug #46089,
reduce ram/rom usage of tables): incompatible change for private MIBs

View File

@ -511,6 +511,8 @@ tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)
LWIP_UNUSED_ARG(pcb);
LWIP_UNUSED_ARG(err);
tcp_abort(pcb);
return ERR_ABRT;
}
#endif /* LWIP_CALLBACK_API */