summaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_jpeg.c
diff options
context:
space:
mode:
authorMatt Wolenetz <[email protected]>2019-07-25 15:54:49 -0700
committerMichael Niedermayer <[email protected]>2019-07-26 08:38:09 +0200
commit052d41377a02f480f8e7135c0f7d418e9a405215 (patch)
tree45c30777229f0b2812d07b507845d5e50dee86c2 /libavcodec/cbs_jpeg.c
parentd83a3117e2f0b17a7742ec16d8fb39cddc272375 (diff)
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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/cbs_jpeg.c')
0 files changed, 0 insertions, 0 deletions