There are mostly issues (in order), potentially causing crashes:
- no check on the buffer left
- no reallocation when the buffer will overflow
- incorrect buffer size when encoding alpha

Christophe Gisquet (4):
  proresenc_kostya: remove unneeded parameters
  proresenc_kostya: report buffer overflow
  proresenc_kostya: realloc if buffer too small
  proresenc_kostya: properly account for alpha

 libavcodec/proresenc_kostya.c | 53 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 45 insertions(+), 8 deletions(-)

-- 
1.9.2.msysgit.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to