agathoandClaude Opus 4.5 5eeaa84d8c fix(eventbus): Fix use-after-free crash in DispatchEvent (line 759)
Previous implementation validated handlers with lock held, then released
the lock before dispatching. This created a race window where another
thread could delete the BotAI between validation and dispatch, causing
ACCESS_VIOLATION crash.

Windows SEH exceptions (like access violations) are NOT caught by C++
catch(...), so the server crashes immediately.

Fix: Hold the recursive mutex during dispatch. This is safe because:
1. _subscriptionMutex is recursive - handlers can call Unsubscribe()
2. Single lock acquisition for entire dispatch phase
3. No race window between validation and dispatch

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-04 20:20:51 -03:00
2026-01-20 21:24:33 -03:00
2026-01-28 18:45:01 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:29:54 -03:00
2026-01-20 21:29:54 -03:00
2026-01-20 21:33:16 -03:00
2026-02-02 00:47:02 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:25:30 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:27:50 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:28:45 -03:00
2026-01-20 21:29:54 -03:00
2026-01-20 21:29:54 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:14:35 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-30 20:37:05 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:33:16 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00
2026-01-20 21:37:09 -03:00

WowCommunityProject

Blizzlike WowCommunity project

S
Description
No description provided
Readme
308 MiB
Languages
C++ 89.3%
C 10.1%
CMake 0.4%