Projects
Eulaceura:Factory
freeimage
_service:obs_scm:CVE-2020-21428-r1877-improved-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:CVE-2020-21428-r1877-improved-DDS-plugin-against-malicious-images.patch of Package freeimage
Origin: upstream, r1877 Index: Source/FreeImage/PluginDDS.cpp =================================================================== diff --git a/Source/FreeImage/PluginDDS.cpp b/Source/FreeImage/PluginDDS.cpp --- a/Source/FreeImage/PluginDDS.cpp (revision 1876) +++ b/Source/FreeImage/PluginDDS.cpp (revision 1877) @@ -617,7 +617,7 @@ // read the file // ------------------------------------------------------------------------- - const int line = CalculateLine(width, bpp); + const int line = CalculateLine(width, FreeImage_GetBPP(dib)); const int filePitch = ((desc->dwFlags & DDSD_PITCH) == DDSD_PITCH) ? (int)desc->dwPitchOrLinearSize : line; const long delta = (long)filePitch - (long)line;
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
.
浙ICP备2022010568号-2