[erlang-patches] pcre compile workspace overflow
Fri Mar 19 14:59:01 CET 2010
On Fri, Mar 19, 2010 at 2:02 AM, Michael Santos
> A large pattern can overflow the buffer used to hold the compiled
> regexp, as reported here:
> So, running the following will crash the emulator on some platforms:
> N = 819, re:compile([lists:duplicate(N, $(), lists:duplicate(N, $))]).
> Here is a patch:
> git fetch git://github.com/msantos/otp.git pcre-compile-workspace-overrun
Thanks! I will include it in the 'pu' branch.
The next time it would be better if you based the patched on the 'dev'
branch and not on R13B03 which is not even the latest release.
No problem this time, since I could rebase onto 'dev' without any
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-patches