Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ghostscript-mini.31884
CVE-2021-45944.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2021-45944.patch of Package ghostscript-mini.31884
--- psi/zfsample.c.orig 2022-01-11 13:22:31.970379980 +0100 +++ psi/zfsample.c 2022-01-11 13:20:35.964853230 +0100 @@ -551,9 +551,17 @@ sampled_data_continue(i_ctx_t *i_ctx_p) } else { if (stack_depth_adjust) { stack_depth_adjust -= num_out; - push(O_STACK_PAD - stack_depth_adjust); - for (i=0;i<O_STACK_PAD - stack_depth_adjust;i++) - make_null(op - i); + if ((O_STACK_PAD - stack_depth_adjust) < 0) { + stack_depth_adjust = -(O_STACK_PAD - stack_depth_adjust); + check_op(stack_depth_adjust); + pop(stack_depth_adjust); + } + else { + check_ostack(O_STACK_PAD - stack_depth_adjust); + push(O_STACK_PAD - stack_depth_adjust); + for (i=0;i<O_STACK_PAD - stack_depth_adjust;i++) + make_null(op - i); + } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor