Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index c2b95420537f4763893d1d5cea4d188240e9d527..a1a392ddf8c367c6fce82c0e94d9fab15824065c 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -2993,6 +2993,7 @@ |
if (_includeAudioLevelIndication) { |
size_t length = |
_audioFrame.samples_per_channel_ * _audioFrame.num_channels_; |
+ RTC_CHECK_LE(length, sizeof(_audioFrame.data_)); |
if (is_muted && previous_frame_muted_) { |
rms_level_.ProcessMuted(length); |
} else { |