diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-02-26 00:11:12 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-02-28 13:32:01 +0100 |
commit | 45fa03b1f9b0475df666f7592f250c37763b7d64 (patch) | |
tree | 159bbe6c6a7d191310832cfdcfd505afa37db64b /version.sh | |
parent | 0f199f0ad01ea4504edcfd947c85cfa69292f881 (diff) | |
download | ffmpeg-45fa03b1f9b0475df666f7592f250c37763b7d64.tar.gz |
mjpegdec: Do not assume unused plane pointer are NULL.
We do neither document nor check such a requirement
and for application-provided get_buffer2 they could
contain the result of a malloc(0) or whatever value
they had previously.
This fixes a use-after-free in e.g. MPlayer:
https://trac.mplayerhq.hu/ticket/2262
We might want to consider changing the (documented)
API in addition though.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'version.sh')
0 files changed, 0 insertions, 0 deletions