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

Issue 2635033002: Avoid infinite recursion in StringImpl::asciiForDebugging (Closed)

Created:
3 years, 11 months ago by Charlie Harrison
Modified:
3 years, 11 months ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid infinite recursion in StringImpl::asciiForDebugging If any of the DCHECKs are hit in ref/deref/hasOneRef, then calling substring() on the underlying impl can also trigger DCHECKs, causing infinite recursion. BUG=681581 Review-Url: https://codereview.chromium.org/2635033002 Cr-Commit-Position: refs/heads/master@{#444035} Committed: https://chromium.googlesource.com/chromium/src/+/965f6c6f71cd704f638caf664c591986a5d8df53

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/wtf/text/StringImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
Charlie Harrison
esprehn: We made a mistake in avoiding copies here :)
3 years, 11 months ago (2017-01-16 17:12:13 UTC) #4
esprehn
lgtm
3 years, 11 months ago (2017-01-17 10:50:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2635033002/1
3 years, 11 months ago (2017-01-17 13:00:00 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 13:04:49 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/965f6c6f71cd704f638caf664c59...

Powered by Google App Engine
This is Rietveld 408576698