mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-02-04 20:11:56 -05:00
If the watchdog thread is sleeping on a watchdog_item and vm_execute_jit calls watchdog_disarm and returns before the watchdog wakes up, then the watchdog thread will wake up and try to use the now uninitialized item->abs_timeout. Fix this by adding an in_use flag, and another condition variable. watchdog_disarm now wakes the watchdog thread, and waits till it releases the item. Thanks to Michael Scheidell for providing feedback on this bug.
79 KiB
79 KiB