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

Unified Diff: src/string-builder.h

Issue 1191263002: Protect error message formatter against invalid string length. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/messages.cc ('k') | src/string-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-builder.h
diff --git a/src/string-builder.h b/src/string-builder.h
index 43b690dba38228d73a7b79c21465e8644f8b031d..5314665329988104347557d139da3713ad51dedf 100644
--- a/src/string-builder.h
+++ b/src/string-builder.h
@@ -384,7 +384,7 @@ class IncrementalStringBuilder {
}
// Add the current part to the accumulator.
- void Accumulate();
+ void Accumulate(Handle<String> new_part);
// Finish the current part and allocate a new part.
void Extend();
« no previous file with comments | « src/messages.cc ('k') | src/string-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698