[FFmpeg-devel] Array bug in aes.c

Mike Melanson mike
Thu Jan 17 23:16:19 CET 2008


This comes from my blog's comments:
  http://multimedia.cx/eggs/up-to-date-gcc/#comment-92872

================
Well, at least one of those warnings is an actual bug:
/tmp/fate/source/libavutil/aes.c:133: warning: array subscript is above
array bounds

In aes.c:133:
if(!enc_multbl[0][sizeof(enc_multbl)/sizeof(enc_multbl[0][0])-1]){

I take it this was meant:
if(!enc_multbl[0][sizeof(enc_multbl[0])/sizeof(enc_multbl[0][0])-1]){
================



-- 
	-Mike Melanson




More information about the ffmpeg-devel mailing list