Module: wine Branch: master Commit: c3bdaf59a8cf0ec1a901a345739b1edd8f9f0791 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3bdaf59a8cf0ec1a901a34573... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Sat Jan 26 15:51:24 2013 +0100 jscript: Update buffer size in do_regexp_match_next. --- dlls/jscript/regexp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c index 65ddc24..c1311d1 100644 --- a/dlls/jscript/regexp.c +++ b/dlls/jscript/regexp.c @@ -3366,6 +3366,7 @@ static HRESULT do_regexp_match_next(script_ctx_t *ctx, RegExpInstance *regexp, D if(!new_parens) return E_OUTOFMEMORY; + *parens_size = regexp->jsregexp->parenCount; *parens = new_parens; } }