diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/flip/flip_framer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/flip/flip_framer.cc b/net/flip/flip_framer.cc index dba9574..7dc93ac 100644 --- a/net/flip/flip_framer.cc +++ b/net/flip/flip_framer.cc @@ -229,6 +229,7 @@ size_t FlipFramer::ProcessCommonHeader(const char* data, size_t len) { break; } remaining_payload_ = current_frame.length(); + DCHECK_LE(remaining_payload_, 1000000u); // Sanity! // if we're here, then we have the common header all received. if (!current_frame.is_control_frame()) CHANGE_STATE(FLIP_FORWARD_STREAM_FRAME); |