avformat/mov: check atom nesting depth
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Dec 2014 20:14:40 +0000 (21:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Dec 2014 22:37:24 +0000 (23:37 +0100)
commitcaa7a3914f499f74b3ee346f26d598ebdc0ec210
tree4088578d8022f0f95a279f533361780cd8e9da0f
parent3881606240953b9275a247a1c98a567f3c44890f
avformat/mov: check atom nesting depth

Fixes call stack overflow
Fixes: case1_call_stack_overflow.mp4
Found-by: Michal Zalewski <lcamtuf@coredump.cx>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/isom.h
libavformat/mov.c