diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-02-26 02:11:12 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-02-28 15:32:01 +0300 |
commit | 45fa03b1f9b0475df666f7592f250c37763b7d64 (patch) | |
tree | 159bbe6c6a7d191310832cfdcfd505afa37db64b /doc | |
parent | 0f199f0ad01ea4504edcfd947c85cfa69292f881 (diff) |
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 'doc')
0 files changed, 0 insertions, 0 deletions