[MariaDB commits] [PATCH] Fix stack overrun crash due to missing stack check in two recursive functions