diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:23:49 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:23:49 +0000 |
commit | b235357d38b41a6d3dbf552fd9f4aee3261af0ba (patch) | |
tree | 4ba5ebbfdc65d7796a504c328745d9d8e3053b1d /base | |
parent | 2a60a7c0f3dd64a5ff608f9ff4e9469931106c68 (diff) | |
download | chromium_src-b235357d38b41a6d3dbf552fd9f4aee3261af0ba.zip chromium_src-b235357d38b41a6d3dbf552fd9f4aee3261af0ba.tar.gz chromium_src-b235357d38b41a6d3dbf552fd9f4aee3261af0ba.tar.bz2 |
Fix embarassing purify error due to length mismatch.
BUG=NONE
TEST=PickleTest.EvilLengths
TBR=cpu
Review URL: http://codereview.chromium.org/149011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/pickle_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/pickle_unittest.cc b/base/pickle_unittest.cc index 4b8373c..1ddbd22 100644 --- a/base/pickle_unittest.cc +++ b/base/pickle_unittest.cc @@ -222,7 +222,7 @@ TEST(PickleTest, EqualsOperator) { TEST(PickleTest, EvilLengths) { Pickle source; - std::string str(10000, 'A'); + std::string str(100000, 'A'); source.WriteData(str.c_str(), 100000); // ReadString16 used to have its read buffer length calculation wrong leading // to out-of-bounds reading. |