]> granicus.if.org Git - libvpx/commit
Fix bug in error handling that causes segfault
authorJim Bankoski <jimbankoski@google.com>
Thu, 19 Jun 2014 19:10:05 +0000 (12:10 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Fri, 20 Jun 2014 21:44:50 +0000 (14:44 -0700)
commit88ba08818efbfcc9a8a7fa3b998b33dfadc7b9fb
tree38ddcbef35df623a12c5063a6ad270bea25b152c
parentedbd05ff10b7cf2db10e640a44c0bdaf15f32875
Fix bug in error handling that causes segfault

See: https://code.google.com/p/chromium/issues/detail?id=362697

The code properly catches an invalid stream but seg faults instead of
returning an error due to a buffer not having been initialized. This
code fixes that.

Change-Id: I695595e742cb08807e1dfb2f00bc097b3eae3a9b
test/invalid_file_test.cc
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decoder.c