[FFmpeg-devel] [PATCH]lavf/mkv: Only skip prores header if the packet is long enough

Michael Niedermayer michaelni at gmx.at
Wed May 20 20:48:22 CEST 2015


On Wed, May 20, 2015 at 07:04:05PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Playing around with the input parameter -r, I was able to produce 
> a dos if a prores packet had size 0 and the mkv muxer looped 
> forever in ebml_num_size() called from put_ebml_num().
> Attached patch fixes the endloess loop here.
> 
> Please comment, Carl Eugen

>  matroskaenc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 219878fe8bb9c646fd62244d6c48fe4df2d68baa  patchmkvprores.diff

LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150520/99428b08/attachment.asc>


More information about the ffmpeg-devel mailing list