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: remove unneeded parameters proresenc: report buffer overflow proresenc: realloc if buffer too small proresenc: properly account for alpha libavcodec/proresenc.c | 53 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 8 deletions(-) -- 1.9.2.msysgit.0 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel