mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Bug#31081 server crash in regexp function
Additional fix for valgrind warning
This commit is contained in:
parent
666155f5e7
commit
47bed4d45d
1 changed files with 1 additions and 1 deletions
|
@ -4255,7 +4255,7 @@ Item_func_regex::regcomp(bool send_error)
|
|||
res= &conv;
|
||||
}
|
||||
|
||||
if ((error= my_regcomp(&preg, res->c_ptr(),
|
||||
if ((error= my_regcomp(&preg, res->c_ptr_safe(),
|
||||
regex_lib_flags, regex_lib_charset)))
|
||||
{
|
||||
if (send_error)
|
||||
|
|
Loading…
Reference in a new issue