• Sergei Golubchik's avatar
    MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list · eef21014
    Sergei Golubchik authored
    mysql_prune_stmt_list() was walking the list following
    element->next pointers, but inside the loop it was invoking
    list_add(element) that modified element->next. So, mysql_prune_stmt_list()
    failed to visit and reset all elements, and some of them were left
    with pointers to invalid MYSQL.
    eef21014
mysql_client_test.c 515 KB