Fix patch for covscan issues
Resolves: rhbz#2032789
This commit is contained in:
parent
4239d4ea14
commit
6f30ed98a2
@ -1,7 +1,19 @@
|
|||||||
|
diff -ur ghostscript-9.54.0/base/gdevvec.c ghostscript-9.54.0-patched/base/gdevvec.c
|
||||||
|
--- ghostscript-9.54.0/base/gdevvec.c
|
||||||
|
+++ ghostscript-9.54.0-patched/base/gdevvec.c
|
||||||
|
@@ -643,7 +643,7 @@
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
gdev_vector_dopath_segment(gdev_vector_dopath_state_t *state, int pe_op,
|
||||||
|
- gs_fixed_point vs[3])
|
||||||
|
+ gs_fixed_point *vs)
|
||||||
|
{
|
||||||
|
gx_device_vector *vdev = state->vdev;
|
||||||
|
const gs_matrix *const pmat = &state->scale_mat;
|
||||||
diff -ur ghostscript-9.54.0/base/gdevvec.h ghostscript-9.54.0-patched/base/gdevvec.h
|
diff -ur ghostscript-9.54.0/base/gdevvec.h ghostscript-9.54.0-patched/base/gdevvec.h
|
||||||
--- ghostscript-9.54.0/base/gdevvec.h 2021-03-30 09:40:28.000000000 +0200
|
--- ghostscript-9.54.0/base/gdevvec.h
|
||||||
+++ ghostscript-9.54.0-patched/base/gdevvec.h 2021-10-29 13:13:54.856280644 +0200
|
+++ ghostscript-9.54.0-patched/base/gdevvec.h
|
||||||
@@ -306,11 +306,11 @@
|
@@ -306,7 +306,7 @@
|
||||||
|
|
||||||
/* Write a segment of a path using the default implementation. */
|
/* Write a segment of a path using the default implementation. */
|
||||||
int gdev_vector_dopath_segment(gdev_vector_dopath_state_t *state, int pe_op,
|
int gdev_vector_dopath_segment(gdev_vector_dopath_state_t *state, int pe_op,
|
||||||
@ -10,11 +22,6 @@ diff -ur ghostscript-9.54.0/base/gdevvec.h ghostscript-9.54.0-patched/base/gdevv
|
|||||||
|
|
||||||
typedef struct gdev_vector_path_seg_record_s {
|
typedef struct gdev_vector_path_seg_record_s {
|
||||||
int op;
|
int op;
|
||||||
- gs_fixed_point vs[3];
|
|
||||||
+ gs_fixed_point *vs;
|
|
||||||
} gdev_vector_path_seg_record;
|
|
||||||
|
|
||||||
/* Write a polygon as part of a path (type = gx_path_type_none) */
|
|
||||||
diff -ur ghostscript-9.54.0/base/gxclpath.c ghostscript-9.54.0-patched/base/gxclpath.c
|
diff -ur ghostscript-9.54.0/base/gxclpath.c ghostscript-9.54.0-patched/base/gxclpath.c
|
||||||
--- ghostscript-9.54.0/base/gxclpath.c 2021-03-30 09:40:28.000000000 +0200
|
--- ghostscript-9.54.0/base/gxclpath.c 2021-03-30 09:40:28.000000000 +0200
|
||||||
+++ ghostscript-9.54.0-patched/base/gxclpath.c 2021-11-23 11:06:14.670137576 +0100
|
+++ ghostscript-9.54.0-patched/base/gxclpath.c 2021-11-23 11:06:14.670137576 +0100
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
Name: ghostscript
|
Name: ghostscript
|
||||||
Summary: Interpreter for PostScript language & PDF
|
Summary: Interpreter for PostScript language & PDF
|
||||||
Version: 9.54.0
|
Version: 9.54.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
License: AGPLv3+
|
License: AGPLv3+
|
||||||
|
|
||||||
@ -439,6 +439,9 @@ done
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 24 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-7
|
||||||
|
- Fix patch for covscan issues (#2032789)
|
||||||
|
|
||||||
* Tue Feb 22 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-6
|
* Tue Feb 22 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-6
|
||||||
- Added fix for vulnerability CVE-2021-45949 (#2049767)
|
- Added fix for vulnerability CVE-2021-45949 (#2049767)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user