summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 21:12:50 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 21:12:50 +0000
commit5ed64d5f85cc2d2381748116374967f0cf5042d2 (patch)
tree2fd7b9d21bcffa7c6f501e5e6c4bd90f7f5d02f1 /net/base
parent5bbf411688635e93420f4c7d2379207fd0c29e69 (diff)
downloadchromium_src-5ed64d5f85cc2d2381748116374967f0cf5042d2.zip
chromium_src-5ed64d5f85cc2d2381748116374967f0cf5042d2.tar.gz
chromium_src-5ed64d5f85cc2d2381748116374967f0cf5042d2.tar.bz2
Try to find the cause of the crash in memcpy, called from DoSendBody.
BUG=27870 TEST=none Review URL: http://codereview.chromium.org/404034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/upload_data_stream.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/upload_data_stream.cc b/net/base/upload_data_stream.cc
index 7a97846..d22929a 100644
--- a/net/base/upload_data_stream.cc
+++ b/net/base/upload_data_stream.cc
@@ -26,7 +26,8 @@ UploadDataStream::~UploadDataStream() {
}
void UploadDataStream::DidConsume(size_t num_bytes) {
- DCHECK(num_bytes <= buf_len_);
+ // TODO(vandebo): Change back to a DCHECK when issue 27870 is resolved.
+ CHECK(num_bytes <= buf_len_);
buf_len_ -= num_bytes;
if (buf_len_)