Skip to content

Fix crash caused by race condition in timer creation

Ondřej Surý requested to merge 556-race-condition-in-timer-creation into master

The race condition is the timer elapses before isc__timer_create() returns the pointer to the caller. Assigning the return pointer before enabling the timer will fix it.

Signed-off-by: Zhaolong Zhang zhangzl2013@126.com

Closes #556 (closed)

Merge request reports