mirror of
https://github.com/MariaDB/server.git
synced 2025-11-13 21:42:58 +03:00
merge_role_db_privileges() was remembering pointers into Dynamic_array acl_dbs, and later was using them, while pushing more elements into the array. But pushing can cause realloc, and it can invalidate all pointers. Fix: remember and use indexes of elements, not pointers.
382 KiB
382 KiB