Projects
Eulaceura:Mainline:GA
SDL
_service:obs_scm:CVE-2019-7636.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:CVE-2019-7636.patch of Package SDL
--- a/src/video/SDL_bmp.c Sun Jan 13 15:27:50 2019 +0100 +++ b/src/video/SDL_bmp.c Mon Feb 18 07:48:23 2019 -0800 @@ -233,6 +233,10 @@ if ( palette ) { if ( biClrUsed == 0 ) { biClrUsed = 1 << biBitCount; + } else if ( biClrUsed > (1 << biBitCount) ) { + SDL_SetError("BMP file has an invalid number of colors"); + was_error = SDL_TRUE; + goto done; } if ( biSize == 12 ) { for ( i = 0; i < (int)biClrUsed; ++i ) {
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