Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: net/spdy/hpack/hpack_decoder.cc

Issue 2663203002: Fix uninitialized fields in hpack code. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/spdy/hpack/hpack_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_decoder.cc
diff --git a/net/spdy/hpack/hpack_decoder.cc b/net/spdy/hpack/hpack_decoder.cc
index 575a5c19b715a25d0989b9048e808b137da3231c..e83e4b0968ffe7c762fc29b13b719d5c5a4999b9 100644
--- a/net/spdy/hpack/hpack_decoder.cc
+++ b/net/spdy/hpack/hpack_decoder.cc
@@ -20,7 +20,11 @@ HpackDecoder::HpackDecoder()
: handler_(nullptr),
total_header_bytes_(0),
total_parsed_bytes_(0),
- header_block_started_(false) {}
+ header_block_started_(false),
+ size_updates_seen_(0),
+ size_updates_allowed_(true),
+ incremental_decode_(false) {}
+
HpackDecoder::~HpackDecoder() {}
« no previous file with comments | « no previous file | net/spdy/hpack/hpack_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698