Status: Closed (View Workflow)
Affects Version/s: 10.5.9, 10.2.41, 10.3.32, 10.4.22, 10.5.13
I used my fuzzing tool to test Mariadb , and found a bug that can result in an abortion.
1) cd mariadb-10.5.9
2) mkdir build; cd build
3) cmake -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DCMAKE_BUILD_TYPE=Debug ../
4) make -j8 && sudo make install
How to Repeat:
/usr/local/mysql/bin/mysql -uroot -p123456(your password)
MariaDB> drop database if exists test_db;
MariaDB> create database test_db;
MariaDB> use test_db;
MariaDB> source fuzz.sql;
I have simplified the content of fuzz.sql, and I hope fuzz.sql can help you reproduce the bug and fix it. In addition, I attach the failure report (which has its stack trace).
This bug looks similar to
MDEV-25787, but their stack trace are totally different in my report. I hope you can judge whether they are different bugs.