Use 64 bit for times in mpeg4_encode_gop_header() #286

Merged
Burer merged 1 commits from manh-td/kolibrios:mpeg4_encode_gop_header into main 2025-12-20 11:01:46 +00:00
Contributor

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

Vulnerability Details:

  • Affected Function: mpeg4_encode_gop_header() in contrib/sdk/sources/ffmpeg/ffmpeg-2.1/libavcodec/mpeg4videoenc.c
  • Original Fix: 6bbef93883

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 `mpeg4_encode_gop_header()` that was cloned from FFmpeg/FFmpeg but did not receive the security patch. **Vulnerability Details:** * **Affected Function**: `mpeg4_encode_gop_header()` in `contrib/sdk/sources/ffmpeg/ffmpeg-2.1/libavcodec/mpeg4videoenc.c` * **Original Fix**: https://github.com/FFmpeg/FFmpeg/commit/6bbef938839adc55e8e048bc9cc2e0fafe2064df **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/6bbef938839adc55e8e048bc9cc2e0fafe2064df * https://nvd.nist.gov/vuln/detail/CVE-2018-12458 Please review and merge this PR to ensure your repository is protected against this vulnerability.
manh-td added 1 commit 2025-12-11 12:50:06 +00:00
Use 64 bit for times in mpeg4_encode_gop_header()
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m2s
Build system / Build (pull_request) Successful in 40m39s
36c3cbf1b0
Doczom approved these changes 2025-12-14 10:51:10 +00:00
Burer approved these changes 2025-12-19 08:13:39 +00:00
Burer merged commit d0de275ab3 into main 2025-12-20 11:01:46 +00:00
Author
Contributor

Hi @Burer, thanks for merging 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 @Burer, thanks for merging 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!
Owner

Hi @Burer, thanks for merging 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!

Hello!

Thank you for your work, but as I can see, you are just transmitting PR's with fixes from ffmpeg upstream.

If so, please, just create one PR with all such fixes, or with full proper port of latest compatible version of ffmpeg.

Otherwise, we would not merge all this PR's one by one.

> Hi @Burer, thanks for merging 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! Hello! Thank you for your work, but as I can see, you are just transmitting PR's with fixes from **ffmpeg** upstream. If so, please, just create one PR with all such fixes, or with full proper port of latest compatible version of **ffmpeg**. Otherwise, we would not merge all this PR's one by one.
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#286