Projects
Essentials
A_tw-ffmpeg-4
ffmpeg-4-CVE-2026-40962.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-4-CVE-2026-40962.patch of Package A_tw-ffmpeg-4
diff --unified --recursive --text --new-file --color ffmpeg-4.4.6.old/libavformat/mov.c ffmpeg-4.4.6/libavformat/mov.c --- ffmpeg-4.4.6.old/libavformat/mov.c 2025-05-17 21:52:39.000000000 +0800 +++ ffmpeg-4.4.6/libavformat/mov.c 2026-05-13 15:36:57.296425644 +0800 @@ -6735,7 +6735,7 @@ } for (i = 0; i < sample->subsample_count; i++) { - if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) { + if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) { av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n"); return AVERROR_INVALIDDATA; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.