Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-22818 Server crash on corrupted ROW_FORMAT=COMPRESSED page
page_zip_fields_decode(): Do not dereference index=NULL. Instead, return NULL early. The only caller does not care about the values of output parameters in that case. This bug was introduced in MySQL 5.7.6 by mysql/mysql-server@9eae0ed and in MariaDB 10.2.2 by commit 2e814d4. Thanks to my son for pointing this out after investigating the output of a static analysis tool.
- Loading branch information