diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 14:56:11 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | 77620689e5d9fe6def8b44d25222dc2898310b78 (patch) | |
tree | 067945aab2c8238983569b22f19165b9e1f9fb3a /compat/os2threads.h | |
parent | b39e085d0cdb34fbb6f7af43e11deb1168277719 (diff) | |
download | ffmpeg-77620689e5d9fe6def8b44d25222dc2898310b78.tar.gz |
libavformat/oggdec.c: Check return value from avio_read()
If the buffer doesn't contain enough bytes when reading a stream,
fail rather than continuing on with unitialized data. Caught by
Chromium fuzzers (crbug.com/1054229).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b7c67b1ae3657058b32b9235119d07529ad5cce1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'compat/os2threads.h')
0 files changed, 0 insertions, 0 deletions