patch attached
Created attachment 4538 [details] regexec.c: avoid overflow in computing sum of lengths 2010-01-19 Paul Eggert <eggert@cs.ucla.edu> [BZ #11191] regexec.c: avoid overflow in computing sum of lengths * posix/regexec.c (re_search_2_stub): Check for overflow when adding the sizes of the two strings.
Checked into git.