Initialize QuicRstStreamFrame::ietf_error_code in default constructor.
This member currently never gets read without being initialized first, but it's
good practice to always initialize members to avoid test flakiness and UBSAN
failures down the road.
gfe-relnote: n/a, no behavioral change
PiperOrigin-RevId: 307442301
Change-Id: I05ed1480ff4c60a93eb9f24ebacbf8f330b63c06
diff --git a/quic/core/frames/quic_rst_stream_frame.cc b/quic/core/frames/quic_rst_stream_frame.cc
index b5730a5..91e44f0 100644
--- a/quic/core/frames/quic_rst_stream_frame.cc
+++ b/quic/core/frames/quic_rst_stream_frame.cc
@@ -11,6 +11,7 @@
: control_frame_id(kInvalidControlFrameId),
stream_id(0),
error_code(QUIC_STREAM_NO_ERROR),
+ ietf_error_code(0),
byte_offset(0) {}
QuicRstStreamFrame::QuicRstStreamFrame(QuicControlFrameId control_frame_id,