[FFmpeg-devel] [PATCH 29/30] avformat/matroskaenc: Check BlockAdditional size before use

Michael Niedermayer michael at niedermayer.cc
Sat Mar 14 23:01:22 EET 2020


On Sun, Jan 26, 2020 at 06:10:27AM +0100, Andreas Rheinhardt wrote:
> Don't read a 64bit number before having checked that the data is at
> least 8 bytes long.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/matroskaenc.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

will apply

thx

[...]
-- 
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: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200314/135aa91b/attachment.sig>


More information about the ffmpeg-devel mailing list