Commit af638715 authored by Franziska Hinkelmann's avatar Franziska Hinkelmann Committed by Ali Ijaz Sheikh
Browse files

deps: cherry-pick a51f429 from V8 upstream

Original commit message:
  [regexp] Fix case-insensitive matching for one-byte subjects.

  The bug occurs because we do not canonicalize character class ranges
  before adding case equivalents. While adding case equivalents, we abort
  early for one-byte subject strings, assuming that the ranges are sorted.
  Which they are not.

  R=marja@chromium.org
  BUG=v8:5199

  Review-Url: https://codereview.chromium.org/2159683002
  Cr-Commit-Position: refs/heads/master@{#37833}

Fixes: https://github.com/nodejs/node/issues/7708
PR-URL: https://github.com/nodejs/node/pull/7834
Ref: https://github.com/nodejs/node/pull/7833


Reviewed-By: default avatartargos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: default avatarbnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarjasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: default avatarofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
parent 980f4da8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment