Here's a patch: regex_internal.c: guard against re_realloc overflow * posix/regex_internal.c (re_string_realloc_buffers): Detect and handle internal overflow. Patch by Paul Eggert.
Created attachment 4529 [details] regex_internal.c: guard against re_realloc overflow
Checked in.