Dear developers,

when compiling the regular expression

regex_t rx;
regcomp(&rx, "^(\\(\\))? *(.*)$", 0)

I get the large value 140733193388034 for rx.re_nsub (Debian, version 8.30). 
In the program at hand 
(http://www.stefant.org/web/projects/software/pplatex.html, regex.cpp, line 
26), this value is used afterwards in malloc, which fails.

Is such a high value normal? Is there some usage error?

Cheers
Patrick

P.S. Please CC, I am not subscribed

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to