• jgruber's avatar
    [value-serializer] Verify deserialized JSRegExp flags · 540419b6
    jgruber authored
    One of the serializer fuzzers passes in random data to the deserializer,
    which can then be used to deserialize a JSRegExp instance with random flag
    contents. This can cause issues since the JSRegExp::Flag enum statically
    contains kDotAll - but it is only valid to set kDotAll iff
    FLAG_harmony_regexp_dotall is set.
    
    This CL verifies deserialized flags before constructing the JSRegExp
    and bails out if they are invalid.
    
    R=jbroman@chromium.org,yangguo@chromium.org
    BUG=chromium:719280
    
    Review-Url: https://codereview.chromium.org/2870743004
    Cr-Commit-Position: refs/heads/master@{#45222}
    540419b6
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
parser Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
object-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unicode-unittest.cc Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...
value-serializer-unittest.cc Loading commit data...