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

Issue 10821029: Moved DCHECK() to prevent NULL deref of codec_context_. (Closed)

Created:
8 years, 5 months ago by Kyle Horimoto
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Moved DCHECK() to prevent NULL deref of codec_context_. CID=102266 BUG= TEST= TBR=annacc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148691

Patch Set 1 #

Total comments: 3

Patch Set 2 : Eliminated code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -6 lines) Patch
M media/filters/audio_file_reader.cc View 1 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Kyle Horimoto
8 years, 5 months ago (2012-07-25 21:50:10 UTC) #1
Tyler Breisacher (Chromium)
https://chromiumcodereview.appspot.com/10821029/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://chromiumcodereview.appspot.com/10821029/diff/1/media/filters/audio_file_reader.cc#newcode122 media/filters/audio_file_reader.cc:122: if (!format_context_ || !codec_context_ || !codec_) { Isn't if ...
8 years, 5 months ago (2012-07-25 21:53:03 UTC) #2
Kyle Horimoto
https://chromiumcodereview.appspot.com/10821029/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): https://chromiumcodereview.appspot.com/10821029/diff/1/media/filters/audio_file_reader.cc#newcode122 media/filters/audio_file_reader.cc:122: if (!format_context_ || !codec_context_ || !codec_) { On 2012/07/25 ...
8 years, 5 months ago (2012-07-25 21:57:25 UTC) #3
Tyler Breisacher (Chromium)
http://codereview.chromium.org/10821029/diff/1/media/filters/audio_file_reader.cc File media/filters/audio_file_reader.cc (right): http://codereview.chromium.org/10821029/diff/1/media/filters/audio_file_reader.cc#newcode122 media/filters/audio_file_reader.cc:122: if (!format_context_ || !codec_context_ || !codec_) { The DCHECK ...
8 years, 5 months ago (2012-07-25 22:14:23 UTC) #4
Kyle Horimoto
On 2012/07/25 22:14:23, Tyler Breisacher wrote: > http://codereview.chromium.org/10821029/diff/1/media/filters/audio_file_reader.cc > File media/filters/audio_file_reader.cc (right): > > http://codereview.chromium.org/10821029/diff/1/media/filters/audio_file_reader.cc#newcode122 ...
8 years, 5 months ago (2012-07-25 22:56:36 UTC) #5
Tyler Breisacher (Chromium)
lgtm as far as I can see but please add an OWNER as a reviewer ...
8 years, 5 months ago (2012-07-25 22:59:26 UTC) #6
Kyle Horimoto
On 2012/07/25 22:59:26, Tyler Breisacher wrote: > lgtm as far as I can see but ...
8 years, 5 months ago (2012-07-25 23:01:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10821029/2003
8 years, 5 months ago (2012-07-26 22:56:16 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-27 01:41:46 UTC) #9
Change committed as 148691

Powered by Google App Engine
This is Rietveld 408576698