aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorMichael Santos <[email protected]>2010-03-18 20:08:10 -0400
committerBjörn Gustavsson <[email protected]>2010-04-14 08:12:01 +0200
commitdfc73e7475ba36998956da9b2f8ce58f8f2482d8 (patch)
tree4cc4eeb0eb22f0653632678bc786e716d38600ad /erts/emulator/beam/erl_init.c
parente313bb4982f50ab15687d5063be7bfa2a6c4f76c (diff)
downloadotp-dfc73e7475ba36998956da9b2f8ce58f8f2482d8.tar.gz
otp-dfc73e7475ba36998956da9b2f8ce58f8f2482d8.tar.bz2
otp-dfc73e7475ba36998956da9b2f8ce58f8f2482d8.zip
Fix check for compile workspace overflow
Patch from: http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=504&r2=505&view=patch Test case: N = 819, re:compile([lists:duplicate(N, $(), lists:duplicate(N, $))]). Compiling large regular expressions could overflow the workspace buffer. Modify the test to check for a value smaller than the buffer size.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
0 files changed, 0 insertions, 0 deletions