summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 20:38:22 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-22 20:38:22 +0000
commit3bd5bf6e271d3149e71fdb02bfab77e486b5c784 (patch)
tree58c308bf4bf7dff6dd4b9a25924ab072f56b6ea8 /remoting
parent33efc90523113c427a7de06373acdf58b62bb627 (diff)
downloadchromium_src-3bd5bf6e271d3149e71fdb02bfab77e486b5c784.zip
chromium_src-3bd5bf6e271d3149e71fdb02bfab77e486b5c784.tar.gz
chromium_src-3bd5bf6e271d3149e71fdb02bfab77e486b5c784.tar.bz2
Fixing a vector overflow when reporting events to Event Log.
Review URL: http://codereview.chromium.org/9838018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128290 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/host_event_logger_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/host_event_logger_win.cc b/remoting/host/host_event_logger_win.cc
index cc37435..afad08c 100644
--- a/remoting/host/host_event_logger_win.cc
+++ b/remoting/host/host_event_logger_win.cc
@@ -92,7 +92,7 @@ void HostEventLoggerWin::OnClientRouteChange(
const std::string& jid,
const std::string& channel_name,
const protocol::TransportRoute& route) {
- std::vector<string16> strings(4);
+ std::vector<string16> strings(5);
strings[0] = ASCIIToUTF16(jid);
strings[1] = ASCIIToUTF16(route.remote_address.ToString());
strings[2] = ASCIIToUTF16(route.local_address.ToString());