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

Issue 1721593004: iSAC float: Check for end of input buffer while decoding (Closed)

Created:
4 years, 10 months ago by kwiberg-webrtc
Modified:
4 years, 10 months ago
CC:
kwiberg-webrtc, 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

iSAC float: Check for end of input buffer while decoding Previously, we relied on the encoded stream to come to an end before the end of the buffer. This is a bad idea, since it is possible to craft a stream that fills the buffer while decoding to less than the expected amount of data; without the new checks introduced here, this causes the decoder to read past the end of the input buffer. BUG=chromium:582471, chromium:587852 Committed: https://crrev.com/b7261fd3ae7c31269b8c282e4c4c55dd3946db45 Cr-Commit-Position: refs/heads/master@{#11734}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
kwiberg-webrtc
4 years, 10 months ago (2016-02-23 02:05:31 UTC) #6
hlundin-webrtc
LGTM with comments about comments. https://codereview.webrtc.org/1721593004/diff/40001/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c File webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c (right): https://codereview.webrtc.org/1721593004/diff/40001/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c#newcode193 webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c:193: if (stream_ptr + 3 ...
4 years, 10 months ago (2016-02-23 13:16:10 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/1721593004/diff/40001/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c File webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c (right): https://codereview.webrtc.org/1721593004/diff/40001/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c#newcode193 webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_logist.c:193: if (stream_ptr + 3 - streamdata->stream >= STREAM_SIZE_MAX_60) On ...
4 years, 10 months ago (2016-02-23 13:48:03 UTC) #8
hlundin-webrtc
lgtm
4 years, 10 months ago (2016-02-23 13:57:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721593004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721593004/60001
4 years, 10 months ago (2016-02-23 14:02:54 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 10 months ago (2016-02-23 15:27:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721593004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721593004/60001
4 years, 10 months ago (2016-02-23 17:45:05 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 10 months ago (2016-02-23 19:45:17 UTC) #17
tlegrand-webrtc
lgtm
4 years, 10 months ago (2016-02-24 08:44:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1721593004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1721593004/60001
4 years, 10 months ago (2016-02-24 09:29:40 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 10 months ago (2016-02-24 09:34:33 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 09:34:43 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b7261fd3ae7c31269b8c282e4c4c55dd3946db45
Cr-Commit-Position: refs/heads/master@{#11734}

Powered by Google App Engine
This is Rietveld 408576698