Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2021-03-18 18:26:54 +0300
committerJames Almer <jamrial@gmail.com>2021-03-22 05:21:48 +0300
commitcfe614787df3bf16be2ad01aa506881047c9a269 (patch)
treec97db75b3689779c74989034753a3dc576e068f4 /tests/fate
parent7efe57ba1199bcae0af235eb2f3a91aea1371184 (diff)
avformat/mov: Fix extended atom size buffer length check
When extended atom size support was added to probing in fec4a2d232d7ebf6d1084fb568d4d84844f25abc, the buffer size check was backwards, but probing continued to work because there was no minimum size check yet, so despite size being 1 on these atoms, and failing to read the 64-bit size, the tag was still correctly read. When 0b78016b2d7c36b32d07669c0c86bc4b4225ec98 introduced a minimum size check, this exposed the bug, and broke probing any files with extended atom sizes, such as entirely valid large files that start whith mdat atoms. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> (cherry picked from commit 85f397c828c8766d411d7bfc773c1241057e9d30)
Diffstat (limited to 'tests/fate')
0 files changed, 0 insertions, 0 deletions