aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/libavformat.v
diff options
context:
space:
mode:
authorMatt Wolenetz <wolenetz@google.com>2019-07-25 15:54:49 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-11 20:18:46 +0100
commit1ed2fae5d61a4d84f1156f344893067ed82d530d (patch)
tree47e820e96149ba8a08afe5eb26e10373e0976079 /libavformat/libavformat.v
parent7cba8c65bd9b80fcbab9e0bd11fe63a3f539cc1e (diff)
downloadffmpeg-1ed2fae5d61a4d84f1156f344893067ed82d530d.tar.gz
lafv/wavdec: Fail bext parsing on incomplete reads
avio_read can successfully return even when less than the requested amount of input was read. wavdec's bext parsing mistakenly assumed a successful avio_read always read the full amount that was requested. The result could be dictionary tags populated with partially uninitialized values. This change also fixes a broken assertion in wav_parse_bext_string that was off-by-one, though no known current usage of that method hits that broken case. Chromium bug: 987270 Signed-off-by: Matt Wolenetz <wolenetz@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 052d41377a02f480f8e7135c0f7d418e9a405215) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/libavformat.v')
0 files changed, 0 insertions, 0 deletions