Closed rhelmot closed 2 years ago
Weird. I recently added a fix to clear outdated hooks' cache. Will have a look asap.
btw, could you provide a small PoC?
My apologies, it seems there was some issue on my end with respect to build caching. I can no longer reproduce the issue.
(also included there is a second diff which calls cleared_deleted_hooks at the start of uc_emu_start in addition to at the end. this is necessary to trigger cleanup of hooks that were unhooked not during execution.)
This implies that one of the
struct list_item cur
iterations inhooked_regions_check_single
contains a freed reference to astruct hook
.