Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop packets everywhere we're deleting DhtTransaction's (#135)
This is a continuation of 856d9ca I've observed at least two more behaviours where this deletion of the DhtTransaction within dht_server.cc can later lead to a use after free when attempting to process the associated packets. As such this commit updates all of the areas where we're deleting DhtTransactions to also drop the corresponding packets. While this arguably could be placed within the DhtTransactions' destructor, it feels like that would be messing up the hierarchy within the Dht* classes.
- Loading branch information