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

Issue 2255203002: iLBC: Handle a case of bad input data (Closed)

Created:
4 years, 4 months ago by kwiberg-webrtc
Modified:
4 years, 4 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

iLBC: Handle a case of bad input data We detect an unreasonable state (caused by a bad encoded stream) before it can lead to problems, and handle it by resetting the decoder. NOPRESUBMIT=true BUG=chromium:617124 Committed: https://crrev.com/619a211562eeb43fdbed4085465a0ec36a08f221 Cr-Commit-Position: refs/heads/master@{#13888}

Patch Set 1 #

Total comments: 2

Patch Set 2 : bool test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -98 lines) Patch
M webrtc/modules/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h View 1 1 chunk +10 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c View 1 4 chunks +10 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/decode.h View 1 chunk +8 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/decode.c View 5 chunks +15 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/decode_residual.h View 1 1 chunk +11 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/decode_residual.c View 1 7 chunks +27 lines, -24 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/encode.c View 5 chunks +19 lines, -24 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h View 1 1 chunk +12 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.c View 1 4 chunks +16 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/ilbc.c View 5 chunks +17 lines, -12 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi View 2 chunks +6 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/codecs/ilbc/ilbc_unittest.cc View 1 chunk +57 lines, -0 lines 0 comments Download
A + webrtc/modules/audio_coding/codecs/ilbc/test/empty.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (9 generated)
kwiberg-webrtc
This uses the C implementation of RTC_CHECK from this CL: https://codereview.webrtc.org/2262173002
4 years, 4 months ago (2016-08-22 13:26:42 UTC) #7
hlundin-webrtc
LGTM with nits. https://codereview.webrtc.org/2255203002/diff/80001/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h File webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h (right): https://codereview.webrtc.org/2255203002/diff/80001/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h#newcode28 webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h:28: // Returns true on success, false ...
4 years, 4 months ago (2016-08-23 07:55:26 UTC) #8
kwiberg-webrtc
On 2016/08/23 07:55:26, hlundin-webrtc wrote: > LGTM with nits. > > https://codereview.webrtc.org/2255203002/diff/80001/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h > File webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h ...
4 years, 4 months ago (2016-08-23 12:44:04 UTC) #10
hlundin-webrtc
lgtm
4 years, 4 months ago (2016-08-24 09:18:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2255203002/120001
4 years, 4 months ago (2016-08-24 09:38:21 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:120001)
4 years, 4 months ago (2016-08-24 09:46:47 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 09:46:51 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/619a211562eeb43fdbed4085465a0ec36a08f221
Cr-Commit-Position: refs/heads/master@{#13888}

Powered by Google App Engine
This is Rietveld 408576698