1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavformat
Matt Wolenetz 82094a703e 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>
2019-12-02 19:41:48 +01:00
..
2015-04-07 22:50:07 +02:00
2016-01-15 12:30:40 +01:00
2017-02-08 21:17:50 +01:00
2015-08-18 10:24:01 -04:00
2016-01-27 23:45:44 +01:00
2015-02-26 02:06:10 +01:00
2015-09-03 12:42:40 +02:00
2016-01-28 15:53:54 +01:00
2015-05-26 19:54:41 +02:00
2016-01-15 12:30:40 +01:00
2015-08-21 04:24:58 +00:00
2016-11-27 00:46:34 +01:00
2017-06-05 23:16:54 +02:00
2015-09-01 22:46:23 +02:00
2015-12-20 13:39:45 +01:00
2015-12-06 02:51:27 +01:00
2015-06-07 21:55:46 +02:00
2014-12-20 00:17:43 +01:00
2015-05-27 21:48:47 +02:00
2015-04-23 12:56:31 +02:00
2015-12-13 10:14:24 +01:00
2015-06-22 10:47:29 +03:00
2015-01-11 00:35:01 +01:00
2015-01-11 00:35:01 +01:00
2019-12-02 19:41:48 +01:00