diff options
author | chcunningham <chcunningham@chromium.org> | 2018-12-14 13:44:07 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-03-21 10:42:51 +0100 |
commit | e02f55a3c5c3761ddcbd326c62bdf571bb2be0b4 (patch) | |
tree | 1190eded68ce0f11cbdeaad1778861597a844f69 /tests/checkasm/h264dsp.c | |
parent | b80d504412334a7341b15491b7327531a669e430 (diff) | |
download | ffmpeg-e02f55a3c5c3761ddcbd326c62bdf571bb2be0b4.tar.gz |
lavf/id3v2: fail read_apic on EOF reading mimetype
avio_read may return EOF, leaving the mimetype array unitialized. fail
early when this occurs to avoid using the array in an unitialized state.
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ee1e39a576977fd38c3b94fc56125d31d38833e9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/checkasm/h264dsp.c')
0 files changed, 0 insertions, 0 deletions