diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 00:12:39 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 00:12:39 +0000 |
commit | b1a975e5d378cea4913320f401f507119ce58fbb (patch) | |
tree | f53f61c734183c7426852ad9a002a879e548bb17 /net/socket | |
parent | 4b1c1134d7b7dbfd5e0fcdec39a79390364c9f16 (diff) | |
download | chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.zip chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.gz chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.bz2 |
Coverity: Initialize member variables.
CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513
102546,102552,102567,102617,102674,102677,102678,102679,102681,102685,
102714,102750,102751,102781
BUG=none
TEST=none
R=groby
Review URL: http://codereview.chromium.org/9005015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r-- | net/socket/ssl_client_socket.h | 2 | ||||
-rw-r--r-- | net/socket/ssl_client_socket_nss.cc | 1 | ||||
-rw-r--r-- | net/socket/ssl_server_socket_nss.cc | 1 | ||||
-rw-r--r-- | net/socket/transport_client_socket_pool.cc | 4 |
4 files changed, 6 insertions, 2 deletions
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h index 0116e37..0637f4c 100644 --- a/net/socket/ssl_client_socket.h +++ b/net/socket/ssl_client_socket.h @@ -68,7 +68,7 @@ class NET_EXPORT SSLClientSocket : public SSLSocket { // an agreement about the application level protocol to speak over a // connection. enum NextProtoStatus { - // WARNING: These values are serialised to disk. Don't change them. + // WARNING: These values are serialized to disk. Don't change them. kNextProtoUnsupported = 0, // The server doesn't support NPN. kNextProtoNegotiated = 1, // We agreed on a protocol. diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc index 1dcc232..815ce94 100644 --- a/net/socket/ssl_client_socket_nss.cc +++ b/net/socket/ssl_client_socket_nss.cc @@ -447,6 +447,7 @@ SSLClientSocketNSS::SSLClientSocketNSS(ClientSocketHandle* transport_socket, cert_verifier_(context.cert_verifier), ob_cert_xtn_negotiated_(false), origin_bound_cert_service_(context.origin_bound_cert_service), + ob_cert_type_(CLIENT_CERT_INVALID_TYPE), ob_cert_request_handle_(NULL), handshake_callback_called_(false), completed_handshake_(false), diff --git a/net/socket/ssl_server_socket_nss.cc b/net/socket/ssl_server_socket_nss.cc index 5b57492..9135464 100644 --- a/net/socket/ssl_server_socket_nss.cc +++ b/net/socket/ssl_server_socket_nss.cc @@ -60,6 +60,7 @@ SSLServerSocketNSS::SSLServerSocketNSS( const SSLConfig& ssl_config) : transport_send_busy_(false), transport_recv_busy_(false), + user_handshake_callback_(NULL), nss_fd_(NULL), nss_bufs_(NULL), transport_socket_(transport_socket), diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc index 02d48fba..001225e 100644 --- a/net/socket/transport_client_socket_pool.cc +++ b/net/socket/transport_client_socket_pool.cc @@ -99,7 +99,9 @@ TransportConnectJob::TransportConnectJob( BoundNetLog::Make(net_log, NetLog::SOURCE_CONNECT_JOB)), params_(params), client_socket_factory_(client_socket_factory), - resolver_(host_resolver) {} + resolver_(host_resolver), + next_state_(STATE_NONE) { +} TransportConnectJob::~TransportConnectJob() { // We don't worry about cancelling the host resolution and TCP connect, since |