Browse Source

MT#55283 fix t_queue_move booboo

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

Change-Id: I26bf03b303c11ebeaf6ff09dccdf1689d4e010fa
pull/1826/head
Richard Fuchs 2 years ago
parent
commit
39087ebf49
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/containers.h

+ 1
- 0
lib/containers.h View File

@ -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