avformat/movenc: Check pal_size before use
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 May 2021 07:22:27 +0000 (09:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 May 2021 18:14:24 +0000 (20:14 +0200)
commit4c1afa292520329eecd1cc7631bc59a8cca95c46
treef82db8f957f614cb0b18dcf3afc7b0bfb9b4b668
parent38d18fb57863bb9c54e68ae44aa780c5c282a184
avformat/movenc: Check pal_size before use

Fixes: assertion failure
Fixes: out of array read
Fixes: Ticket8190
Fixes: CVE-2020-22015

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/movenc.c