aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-02-26 00:11:12 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-02-28 13:32:01 +0100
commit45fa03b1f9b0475df666f7592f250c37763b7d64 (patch)
tree159bbe6c6a7d191310832cfdcfd505afa37db64b /ffplay.c
parent0f199f0ad01ea4504edcfd947c85cfa69292f881 (diff)
downloadffmpeg-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 'ffplay.c')
0 files changed, 0 insertions, 0 deletions