1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-12420: pcre recursion overflow test case

This commit is contained in:
Daniel Black
2017-04-09 13:30:59 +10:00
committed by Sergei Golubchik
parent fbc057ad36
commit b30311e52a
2 changed files with 9 additions and 0 deletions

View File

@ -874,3 +874,8 @@ SET @regCheck= '\\xE0\\x01';
1
# Testing workarond N3: This makes derivation of the subject string stronger (IMLICIT instead of COERCIBLE)
SET NAMES latin1;
SET @regCheck= '\\xE0\\x01';
SELECT CAST(0xE001 AS BINARY) REGEXP @regCheck;
CAST(0xE001 AS BINARY) REGEXP @regCheck
1
# MDEV-12420: Testing recursion overflow