]> git.meshlink.io Git - meshlink/commitdiff
Don't call terminate_connection() from meshlink_blacklist().
authorGuus Sliepen <guus@meshlink.io>
Mon, 28 Oct 2019 20:14:17 +0000 (21:14 +0100)
committerGuus Sliepen <guus@meshlink.io>
Mon, 28 Oct 2019 20:14:17 +0000 (21:14 +0100)
If meshlink_blacklist() is called from a callback function, this can result
in a use-after-free bug. Instead, shut down the socket, so the event loop
will take care of it.


No differences found