Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Issue 159071: Change RegExpMacroAssemblerIA32::CaseInsensitiveCompareUC16 so that it... (Closed)

Created:
11 years, 5 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Change RegExpMacroAssemblerIA32::CaseInsensitiveCompareUC16 so that it does not use stack-allocated character as a one-element character array. The use at this site was actually safe (Ecma262Canonicalize will only write to the first character of the array), but not obviously so. BUG=17103 Committed: http://code.google.com/p/v8/source/detail?r=2510

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M src/ia32/regexp-macro-assembler-ia32.cc View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
11 years, 5 months ago (2009-07-20 09:22:54 UTC) #1
Christian Plesner Hansen
Lgtm
11 years, 5 months ago (2009-07-20 10:01:03 UTC) #2
Erik Corry
11 years, 5 months ago (2009-07-20 19:47:39 UTC) #3
How does this patch make any difference?  If Ecma262Canonicalize  wrote to any
but the first character then this would be just as unsafe as the old version.

Powered by Google App Engine
This is Rietveld 408576698