Damien George
4a2051eec7
extmod/modlwip: Deregister all lwIP callbacks when closing a socket.
...
Otherwise they may be called on a socket that no longer exists.
For example, if the GC calls the finaliser on the socket and then reuses
its heap memory, the "callback" entry of the old socket may contain invalid
data. If lwIP then calls the TCP callback the code may try to call the
user callback object which is now invalid. The lwIP callbacks must be
deregistered during the closing of the socket, before all the pcb pointers
are set to NULL.
2018-07-20 12:59:24 +10:00
..
2017-04-27 15:01:01 +03:00
2017-07-18 11:57:39 +10:00
2018-04-10 13:54:22 +10:00
2018-05-02 23:16:22 +10:00
2018-07-08 23:15:44 +10:00
2017-07-18 11:57:39 +10:00
2017-10-04 12:37:50 +11:00
2017-07-31 18:35:40 +10:00
2017-09-12 16:00:21 +10:00
2017-07-18 11:57:39 +10:00
2017-02-05 14:20:17 +03:00
2017-07-18 11:57:39 +10:00
2017-12-11 13:49:09 +11:00
2017-07-18 11:57:39 +10:00
2018-03-10 00:59:43 +11:00
2018-03-10 00:59:43 +11:00
2017-10-13 20:01:57 +11:00
2017-11-24 14:48:23 +11:00
2017-12-14 17:36:13 +11:00
2018-07-20 12:59:24 +10:00
2017-07-29 18:24:16 +03:00
2017-10-04 12:37:50 +11:00
2017-07-31 18:35:40 +10:00
2018-06-27 16:44:59 +10:00
2017-10-04 12:37:50 +11:00
2018-06-12 13:50:11 +10:00
2017-10-04 12:37:50 +11:00
2018-06-18 12:35:56 +10:00
2017-10-04 12:37:50 +11:00
2018-07-02 14:55:02 +10:00
2018-07-08 23:15:44 +10:00
2018-06-13 13:16:21 +10:00
2018-06-18 12:35:56 +10:00
2017-10-24 22:39:36 +11:00
2018-06-18 12:35:56 +10:00
2018-06-18 12:35:56 +10:00
2018-06-18 12:35:56 +10:00
2017-07-18 11:57:39 +10:00
2018-07-08 23:15:44 +10:00
2017-07-07 11:32:22 +10:00
2017-07-18 11:57:39 +10:00
2018-06-16 18:21:42 +10:00
2018-06-06 14:28:23 +10:00
2018-06-06 14:33:42 +10:00
2018-06-06 14:33:42 +10:00
2018-06-06 14:28:23 +10:00
2018-07-11 16:07:44 +10:00
2018-06-06 14:33:42 +10:00
2017-11-16 13:17:51 +11:00
2018-07-03 13:04:29 +10:00
2018-06-06 14:33:42 +10:00
2016-06-18 18:44:57 +03:00
2017-07-18 11:57:39 +10:00