1. 16 Jan, 2020 1 commit
  2. 23 May, 2019 1 commit
  3. 21 May, 2019 1 commit
  4. 29 Apr, 2019 1 commit
    • Clemens Hammacher's avatar
      [cleanup] Use Vector::begin instead of Vector::start · 4b0f9c85
      Clemens Hammacher authored
      Our {Vector} template provides both {start} and {begin} methods. They
      return exactly the same value. Since the {begin} method is needed for
      iteration, and is also what standard containers provide, this CL
      switches all uses of the {start} method to use {begin} instead.
      
      Patchset 1 was auto-generated by using this clang AST matcher:
          callExpr(
              callee(
                cxxMethodDecl(
                  hasName("start"),
                  ofClass(hasName("v8::internal::Vector")))
              ),
              argumentCountIs(0))
      
      Patchset 2 was created by running clang-format. Patchset 3 then
      removes the now unused {Vector::start} method.
      
      R=jkummerow@chromium.org
      TBR=mstarzinger@chromium.org,yangguo@chromium.org,verwaest@chromium.org
      
      Bug: v8:9183
      Change-Id: Id9f01c92870872556e2bb3f6d5667463b0e3e5c6
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1587381Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61081}
      4b0f9c85
  5. 26 Apr, 2019 1 commit
  6. 20 Feb, 2018 1 commit
  7. 18 Oct, 2017 1 commit
  8. 13 Oct, 2017 1 commit
  9. 06 Jul, 2015 1 commit
    • fedor's avatar
      unicode-decoder: fix out-of-band write in utf16 · b199bcdd
      fedor authored
      `WriteUtf16Slow` should not assume that the output buffer has enough
      bytes to hold both words of surrogate pair. It should pass the number of
      remaining bytes to the `Utf8::ValueOf` instead, just as we already do in
      `Utf8DecoderBase::Reset`. Otherwise it will attempt to write the trail
      uint16_t past the buffer boundary, leading to memory corruption and
      possible crash.
      
      Originally reported by: Kris Reeves <kris.re@bbhmedia.com>
      
      BUG=v8:4274
      R=danno
      R=svenpanne
      LOG=y
      
      Review URL: https://codereview.chromium.org/1226493003
      
      Cr-Commit-Position: refs/heads/master@{#29485}
      b199bcdd
  10. 05 Feb, 2015 1 commit
  11. 08 Oct, 2014 1 commit