-4042. [bug] zone.c:iszonesecure was being called too late.
- [RT #38371]
+4044. [bug] Change 3955 was not complete resulting is a assertion
+ failure is the timing was just right. [RT #38352]
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381]
if (rl->state == isc_ratelimiter_ratelimited ||
rl->state == isc_ratelimiter_stalled) {
ev->ev_sender = task;
- ISC_LIST_APPEND(rl->pending, ev, ev_link);
*eventp = NULL;
+ ISC_LIST_APPEND(rl->pending, ev, ev_link);
} else if (rl->state == isc_ratelimiter_idle) {
result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
&rl->interval, ISC_FALSE);
REQUIRE(event != NULL);
LOCK(&rl->lock);
- if (ISC_LINK_LINKED(event, ev_link))
+ if (ISC_LINK_LINKED(event, ev_link)) {
ISC_LIST_UNLINK(rl->pending, event, ev_link);
- else
+ event->ev_sender = NULL;
+ } else
result = ISC_R_NOTFOUND;
UNLOCK(&rl->lock);
return (result);