[FFmpeg-devel] [PATCH] mlz: limit next_code to data buffer size
Michael Niedermayer
michael at niedermayer.cc
Tue Nov 15 11:55:19 EET 2016
On Tue, Nov 15, 2016 at 12:12:45AM +0100, Andreas Cadhalpun wrote:
> This fixes a heap-buffer-overflow detected by AddressSanitizer.
>
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> libavcodec/mlz.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
Probably ok
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161115/0eb65283/attachment.sig>
More information about the ffmpeg-devel
mailing list