Message ID | 20220918215704.13793-2-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec/mjpegdec: Check for unsupported bayer case | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/aes.c b/libavutil/aes.c index 029d738f870..8f3e04e7c6d 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -251,7 +251,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) tk[j][i] ^= sbox[tk[j - 1][i]]; } - memcpy(a->round_key[0].u8 + t, tk, KC * 4); + memcpy((uint8_t*)a->round_key[0].u8 + t, tk, KC * 4); } if (decrypt) {
Fixes: index 32 out of bounds for type 'uint8_t [16]' Fixes: 51253/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5968304170205184 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavutil/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)