commit | 93846ee22383fae4a57dc467022524d9d828694a | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Thu Nov 20 21:19:36 2014 +1100 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Thu Nov 20 21:46:57 2014 +1100 |
tree | 189405dba2a4068eb583281d082660a4c1328402 | |
parent | 5b3033a2b355068c11fe637e14ac742d273f076e [diff] |
examples/c/decode/file/main.c : Add extra error handling. Michele Spagnuolo provided a file that initially had frames with two channels but then had a frame with a single channel. This example program only supports exactly two channels and previously had insufficient validation. Closes: https://sourceforge.net/p/flac/bugs/418/ Reported-by: Michele Spagnuolo, Google Security Team <mikispag@google.com>