mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
fix race in ISC_QUEUE_PUSH
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
3349. [bug] Change #3345 was incomplete. [RT #30233]
|
||||||
|
|
||||||
3348. [security] prevent RRSIG data from being cached if a negative
|
3348. [security] prevent RRSIG data from being cached if a negative
|
||||||
record matching the covering type exists at a higher
|
record matching the covering type exists at a higher
|
||||||
trust level. Such data already can't be retrieved from
|
trust level. Such data already can't be retrieved from
|
||||||
|
@@ -106,10 +106,10 @@
|
|||||||
LOCK(&(queue).taillock); \
|
LOCK(&(queue).taillock); \
|
||||||
headlocked = ISC_TRUE; \
|
headlocked = ISC_TRUE; \
|
||||||
} \
|
} \
|
||||||
if ((queue).tail != NULL) \
|
|
||||||
(queue).tail->link.next = (elt); \
|
|
||||||
(elt)->link.prev = (queue).tail; \
|
(elt)->link.prev = (queue).tail; \
|
||||||
(elt)->link.next = NULL; \
|
(elt)->link.next = NULL; \
|
||||||
|
if ((queue).tail != NULL) \
|
||||||
|
(queue).tail->link.next = (elt); \
|
||||||
(queue).tail = (elt); \
|
(queue).tail = (elt); \
|
||||||
UNLOCK(&(queue).taillock); \
|
UNLOCK(&(queue).taillock); \
|
||||||
if (headlocked) { \
|
if (headlocked) { \
|
||||||
|
Reference in New Issue
Block a user