Add missing check for av_malloc #285

Merged
Burer merged 1 commits from manh-td/kolibrios:vp3_decode_frame into main 2025-12-20 10:59:12 +00:00
Contributor

This PR fixes a security vulnerability in vp3_decode_frame() that was cloned from FFmpeg/FFmpeg but did not receive the security patch.

Vulnerability Details:

  • Affected Function: vp3_decode_frame() in contrib/sdk/sources/ffmpeg/ffmpeg-2.1/libavcodec/vp3.c
  • Original Fix: 656cb0450a

What this PR does: This PR applies the same security patch that was applied to the original repository to eliminate the vulnerability in the cloned code.

References:

Please review and merge this PR to ensure your repository is protected against this vulnerability.

This PR fixes a security vulnerability in `vp3_decode_frame()` that was cloned from FFmpeg/FFmpeg but did not receive the security patch. **Vulnerability Details:** * **Affected Function**: `vp3_decode_frame()` in `contrib/sdk/sources/ffmpeg/ffmpeg-2.1/libavcodec/vp3.c` * **Original Fix**: https://github.com/FFmpeg/FFmpeg/commit/656cb0450aeb73b25d7d26980af342b37ac4c568 **What this PR does:** This PR applies the same security patch that was applied to the original repository to eliminate the vulnerability in the cloned code. **References:** * https://github.com/FFmpeg/FFmpeg/commit/656cb0450aeb73b25d7d26980af342b37ac4c568 * https://nvd.nist.gov/vuln/detail/CVE-2022-3109 Please review and merge this PR to ensure your repository is protected against this vulnerability.
manh-td added 1 commit 2025-12-11 12:47:28 +00:00
Add missing check for av_malloc
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m1s
Build system / Build (pull_request) Successful in 41m18s
5ae2f52cd2
Doczom approved these changes 2025-12-14 10:53:07 +00:00
Burer approved these changes 2025-12-19 08:12:42 +00:00
Burer force-pushed vp3_decode_frame from 5ae2f52cd2 to 29c42738b8 2025-12-20 10:37:38 +00:00 Compare
Burer merged commit 29c42738b8 into main 2025-12-20 10:59:12 +00:00
Author
Contributor

Hi @Doczom and @Burer, thanks for approving our PR. Just want to let you know that we plan to report this as a CVE. Let us know if you have any concerns!

Hi @Doczom and @Burer, thanks for approving our PR. Just want to let you know that we plan to report this as a CVE. Let us know if you have any concerns!
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#285