summaryrefslogtreecommitdiffstats
path: root/net/ftp
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:24:43 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:24:43 +0000
commit70cc766c4b3e34140ceb3b534a60393a3ba12731 (patch)
tree73404c50324e323cb0d166933410552c6aca88a4 /net/ftp
parent0dee9911804726e649a65c89741e11cb28f64734 (diff)
downloadchromium_src-70cc766c4b3e34140ceb3b534a60393a3ba12731.zip
chromium_src-70cc766c4b3e34140ceb3b534a60393a3ba12731.tar.gz
chromium_src-70cc766c4b3e34140ceb3b534a60393a3ba12731.tar.bz2
Fix uninitialized memory read in FtpNetworkTransaction.
The comment is inaccurate anyway. Landing a subset of Ibrar's patch. TBR=wtc Review URL: http://codereview.chromium.org/159652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp')
-rw-r--r--net/ftp/ftp_network_transaction.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index e783590..e885d92 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -913,8 +913,6 @@ int FtpNetworkTransaction::DoDataRead() {
}
int FtpNetworkTransaction::DoDataReadComplete(int result) {
- DLOG(INFO) << read_data_buf_->data(); // The read_data_buf_ is NULL
- // terminated string.
return result;
}