Projects
Mega:24.03
giflib
_service:tar_scm:CVE-2023-39742.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2023-39742.patch of Package giflib
Description: Fix segmentation faults due to non correct checking for args Author: David Suárez <david.sephirot@gmail.com> Origin: vendor Bug: https://sourceforge.net/p/giflib/bugs/153/ Bug-Debian: https://bugs.debian.org/715963 Bug-Debian: https://bugs.debian.org/715964 Bug-Debian: https://bugs.debian.org/715967 Last-Update: 2020-12-20 --- a/getarg.c +++ b/getarg.c @@ -305,6 +305,12 @@ int i = 0, ScanRes; while (!(ISSPACE(CtrlStrCopy[i]))) { + + if ((*argv) == argv_end) { + GAErrorToken = Option; + return CMD_ERR_NumRead; + } + switch (CtrlStrCopy[i + 1]) { case 'd': /* Get signed integers. */ ScanRes = sscanf(*((*argv)++), "%d",
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