[Maria-developers] 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/t... 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/163... 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
ahiguti100@gmail.com writes:
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
I wouldn't be surprised if there's a lot more too, certainly don't bank on HandlerSocket not being a giant hole into your database server. -- Stewart Smith
Hi!
"ahiguti" == ahiguti <ahiguti100@gmail.com> writes:
ahiguti> Hi MariaDB developers, ahiguti> I found an invalid memory access bug of HandlerSocket is not yet fixed in ahiguti> MariaDB. ahiguti> https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/issues/78 ahiguti> This bug can be reproduced by running the following script: ahiguti> https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/blob/master/regtest/t... ahiguti> You may need to run mysqld with valgrind to observe the invalid memory ahiguti> access, because hitting this bug may not cause mysqld to crash. ahiguti> I've filed a merge request. ahiguti> https://code.launchpad.net/~ahiguti100/maria/handlersocket-fix-78/+merge/163... ahiguti> Rev #3750 fixes the bug, and #3751 updates documents and tests for ahiguti> HandlerSocket. I want docs to be updated because my github url for ahiguti> HandlerSocket has been changed. All the changes are copied from my github ahiguti> repo, and are provided under the BSD license. Thanks! ahiguti> Please let me know if something is wrong with the merge request. I have now pushed this into maria-10.0-base (For things that are not depending on 5.6, we push them into 10.0-base first to make future merges with 5.6 simpler). Please apply for a membership to maria-captains. Then you can in the future push changes of handlersocket directly to the mariadb trees! Regards, Monty
Thank you so much, Monty! 2013/5/10 Michael Widenius <monty@askmonty.org>
Hi!
"ahiguti" == ahiguti <ahiguti100@gmail.com> writes:
ahiguti> Hi MariaDB developers, ahiguti> I found an invalid memory access bug of HandlerSocket is not yet fixed in ahiguti> MariaDB. ahiguti> https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/issues/78
ahiguti> This bug can be reproduced by running the following script: ahiguti> https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL/blob/master/regtest/t...
ahiguti> You may need to run mysqld with valgrind to observe the invalid memory ahiguti> access, because hitting this bug may not cause mysqld to crash.
ahiguti> I've filed a merge request. ahiguti> https://code.launchpad.net/~ahiguti100/maria/handlersocket-fix-78/+merge/163...
ahiguti> Rev #3750 fixes the bug, and #3751 updates documents and tests for ahiguti> HandlerSocket. I want docs to be updated because my github url for ahiguti> HandlerSocket has been changed. All the changes are copied from my github ahiguti> repo, and are provided under the BSD license.
Thanks!
ahiguti> Please let me know if something is wrong with the merge request.
I have now pushed this into maria-10.0-base (For things that are not depending on 5.6, we push them into 10.0-base first to make future merges with 5.6 simpler).
Please apply for a membership to maria-captains. Then you can in the future push changes of handlersocket directly to the mariadb trees!
Regards, Monty
participants (3)
-
ahiguti100@gmail.com
-
Michael Widenius
-
Stewart Smith