Projects
Mega:24.03:SP1:Everything
ghostscript
_service:tar_scm:CVE-2023-28879.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:CVE-2023-28879.patch of Package ghostscript
--- base/sbcp.c.orig 2020-03-19 09:21:42.000000000 +0100 +++ base/sbcp.c 2023-04-03 12:36:26.024927229 +0200 @@ -50,6 +50,14 @@ s_xBCPE_process(stream_state * st, strea byte ch = *++p; if (ch <= 31 && escaped[ch]) { + /* Make sure we have space to store two characters in the write buffer, + * if we don't then exit without consuming the input character, we'll process + * that on the next time round. + */ + if (pw->limit - q < 2) { + p--; + break; + } if (p == rlimit) { p--; break;
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