On Sat, Sep 28, 2019 at 04:26:01AM +0200, Andreas Rheinhardt wrote: > libavcodec/ffv1enc.c accessed an array of uint8_t [32] via array[0][j] > in order to loop over all the uint8_t in this array of arrays. Of course > this implied an out-of-bounds access for array[0] and UBSan complained > about this. So replace this with nested loops; furthermore, factor this > out into a function of its own to easily break out of the nested loops. > > This affected the FATE-tests vsynth1-ffv1, vsynth1-ffv1-v3-yuv420p, > vsynth1-ffv1-v3-yuv422p10, vsynth1-ffv1-v3-yuv444p16, > vsynth1-ffv1-v3-bgr0, vsynth1-ffv1-ffv1-v3-rgb48 as well as the > corresponding vsynth2-*, vsynth3-* and the vsynth_lena-* tests. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > --- > libavcodec/ffv1enc.c | 17 +++++++++++++---- > 1 file changed, 13 insertions(+), 4 deletions(-)
will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What does censorship reveal? It reveals fear. -- Julian Assange
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".