← Back to team overview

maria-developers team mailing list archive

An invalid memory access bug in HandlerSocket

 

Hi MariaDB developers,

I found an invalid memory access bug of HandlerSocket is not yet fixed in
MariaDB.
https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/issues/78

This bug can be reproduced by running the following script:
https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/blob/master/regtest/test_01_lib/test24.pl

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.
https://code.launchpad.net/~ahiguti100/maria/handlersocket-fix-78/+merge/163117

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

Follow ups