sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.05k stars 983 forks source link

Fix crash on malformed packet received from MySQL #4742

Closed JavierJF closed 1 week ago

JavierJF commented 2 weeks ago

This PR adds an integrity check for detecting malformed column-count packets when reading resultset metadata from MySQL. This check is a mitigation to prevents consistent crashes found due to certain malformed packets.