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 b8b8d43935 avcodec/h274: free the big endian pixel buffer before the
context that holds it
b8b8d43935 is described below
commit b8b8d4393548b9bd1cbbced220131b81e268a821
Author: Michael Niedermayer <[email protected]>
AuthorDate: Tue Sep 15 06:13:53 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Sat Sep 19 18:51:08 2026 +0000
avcodec/h274: free the big endian pixel buffer before the context that
holds it
Fixes: use after free
Fixes: 6f1DsDI0TxJu
Found-by: Zheng Yu @ Depthfirst
---
libavcodec/h274.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/h274.c b/libavcodec/h274.c
index 93ad2d1014..e82e31489e 100644
--- a/libavcodec/h274.c
+++ b/libavcodec/h274.c
@@ -919,10 +919,10 @@ void ff_h274_hash_freep(H274HashContext **ctx)
H274HashContext *c = *ctx;
if (c->ctx)
av_free(c->ctx);
- av_freep(ctx);
#if HAVE_BIGENDIAN
av_freep(&c->buf);
#endif
+ av_freep(ctx);
}
}
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]