OSDN Git Service

xface: Fix encoder crashes due to too small on-stack array.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 22 Nov 2014 22:12:51 +0000 (23:12 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 23 Nov 2014 05:51:18 +0000 (06:51 +0100)
commit6369a7b742bd64e7ded377fe79a5d723379ce08d
treeb499b386e60267de3a4774b86f6888fb878d1eef
parentd0682b5eb0d9b6d2c1bc8d03e7ab87c29bb08abc
xface: Fix encoder crashes due to too small on-stack array.

Also add a FATE test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/xface.h
libavcodec/xfaceenc.c
libavformat/nut.c
tests/fate/vcodec.mak
tests/ref/vsynth/vsynth1-xface [new file with mode: 0644]
tests/ref/vsynth/vsynth2-xface [new file with mode: 0644]
tests/ref/vsynth/vsynth3-xface [new file with mode: 0644]