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

Unified Diff: chrome/common/chrome_constants.cc

Issue 523088: Avoid accepting suspiciously long URLs from the renderer. These can take down... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « chrome/common/chrome_constants.h ('k') | chrome/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_constants.cc
===================================================================
--- chrome/common/chrome_constants.cc (revision 35352)
+++ chrome/common/chrome_constants.cc (working copy)
@@ -116,6 +116,7 @@
const int kStatsMaxCounters = 300;
const size_t kMaxTitleChars = 4 * 1024;
+const size_t kMaxURLChars = 10 * 1024 * 1024;
// We don't enable record mode in the released product because users could
// potentially be tricked into running a product in record mode without
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698