Index: net/quic/core/quic_packet_generator_test.cc |
diff --git a/net/quic/core/quic_packet_generator_test.cc b/net/quic/core/quic_packet_generator_test.cc |
index 990888359cf57e9d911b52bc40b908112f3ab15a..b7b4c7e78b4e167441026697bb2339ffd38ce6e3 100644 |
--- a/net/quic/core/quic_packet_generator_test.cc |
+++ b/net/quic/core/quic_packet_generator_test.cc |
@@ -852,7 +852,7 @@ TEST_F(QuicPacketGeneratorTest, ConnectionCloseFrameLargerThanPacketSize) { |
delegate_.SetCanWriteAnything(); |
QuicConnectionCloseFrame* frame = new QuicConnectionCloseFrame(); |
frame->error_code = QUIC_PACKET_WRITE_ERROR; |
- char buf[2000]; |
+ char buf[2000] = {}; |
QuicStringPiece error_details(buf, 2000); |
frame->error_details = error_details.as_string(); |
EXPECT_CALL(delegate_, |