This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 84a48165f0 avformat/vividas: fix misaligned access
84a48165f0 is described below
commit 84a48165f0af2278e2e9e77926fc7ecc57dedc10
Author: Michael Niedermayer <[email protected]>
AuthorDate: Mon May 18 20:18:47 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Tue May 19 23:11:33 2026 +0000
avformat/vividas: fix misaligned access
Fixes: ffmpeg_xor_block_libavformat_vividas.c_134_15.poc
Found-by: iceray-Li
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavformat/vividas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index 9617b10c0a..23f010d25c 100644
--- a/libavformat/vividas.c
+++ b/libavformat/vividas.c
@@ -131,7 +131,7 @@ static void xor_block(void *p1, void *p2, unsigned size,
int key, unsigned *key_
size >>= 2;
while (size > 0) {
- *d2 = *d1 ^ (HAVE_BIGENDIAN ? av_bswap32(k) : k);
+ AV_WN32(d2, AV_RN32(d1) ^ (HAVE_BIGENDIAN ? av_bswap32(k) : k));
k += key;
d1++;
d2++;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]