Hi MariaDB developers,
I found an invalid memory access bug of HandlerSocket is not yet fixed in MariaDB.
This bug can be reproduced by running the following script:
You may need to run mysqld with valgrind to observe the invalid memory access, because hitting this bug may not cause mysqld to crash.
I've filed a merge request.
Rev #3750 fixes the bug, and #3751 updates documents and tests for HandlerSocket. I want docs to be updated because my github url for HandlerSocket has been changed. All the changes are copied from my github repo, and are provided under the BSD license.
Please let me know if something is wrong with the merge request.
Thanks,
Akira