MT#55283 fix t_queue_move booboo

Fix missing adjustment of destination tail pointer (with possibly
catastrophic consequences)

Change-Id: I26bf03b303c11ebeaf6ff09dccdf1689d4e010fa
(cherry picked from commit 39087ebf49)
(cherry picked from commit 36d249ae7a)
pull/1852/head
Richard Fuchs 1 year ago
parent d106f7fd77
commit 4f449a3864

@ -311,6 +311,7 @@
else { \
__dst->tail->next = __src->head; \
__src->head->prev = __dst->tail; \
__dst->tail = __src->tail; \
__dst->length += __src->length; \
t_queue_init(__src); \
} \

Loading…
Cancel
Save