automatic version update by autodist [release 10.04.0-1mamba;Fri Sep 27 2024]
This commit is contained in:
parent
98d495f628
commit
50a311b461
@ -1,29 +0,0 @@
|
||||
From 90cabe08422afdd16bac5dd9217602679d943045 Mon Sep 17 00:00:00 2001
|
||||
From: Ken Sharp <Ken.Sharp@artifex.com>
|
||||
Date: Fri, 8 Mar 2024 09:19:05 +0000
|
||||
Subject: Bug #707649 - fix apply_sasl in error cases.
|
||||
|
||||
Forgot to dereference the pointers before assigning the values, if we
|
||||
get non-fatal errors returned from stringprep.
|
||||
---
|
||||
pdf/pdf_sec.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pdf/pdf_sec.c b/pdf/pdf_sec.c
|
||||
index 565ae80ca..7e8f6719d 100644
|
||||
--- a/pdf/pdf_sec.c
|
||||
+++ b/pdf/pdf_sec.c
|
||||
@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassw
|
||||
* this easy: the errors we want to ignore are the ones with
|
||||
* codes less than 100. */
|
||||
if ((int)err < 100) {
|
||||
- NewPassword = Password;
|
||||
- NewLen = Len;
|
||||
+ *NewPassword = Password;
|
||||
+ *NewLen = Len;
|
||||
return 0;
|
||||
}
|
||||
|
||||
--
|
||||
cgit v1.2.3
|
||||
|
@ -2,7 +2,7 @@
|
||||
%define dirver %(echo %version | tr -d .)
|
||||
|
||||
Name: ghostscript
|
||||
Version: 10.03.1
|
||||
Version: 10.04.0
|
||||
Release: 1mamba
|
||||
Summary: The GPL release of the Ghostscript interpreter
|
||||
Group: Applications/Publishing
|
||||
@ -12,7 +12,6 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.ghostscript.com/
|
||||
Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{dirver}/ghostscript-%{version}.tar.gz
|
||||
Patch1: ghostscript-9.27-system-zlib.patch
|
||||
Patch3: ghostscript-10.03.1-gcc-14.1.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -123,7 +122,6 @@ X11 support library for Ghostscript.
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
%patch 1 -p1
|
||||
%patch 3 -p1 -b .gcc-14.1
|
||||
|
||||
# To force using system libs
|
||||
rm -rfv cups/libs freetype jbig2dec jpeg lcms2 libpng tiff zlib
|
||||
@ -203,8 +201,6 @@ rm -f %{buildroot}%{_datadir}/ghostscript/%{version}/doc
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n libgs -p /sbin/ldconfig
|
||||
%postun -n libgs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -282,6 +278,9 @@ rm -f %{buildroot}%{_datadir}/ghostscript/%{version}/doc
|
||||
#%{_libdir}/ghostscript/*/X11.so
|
||||
|
||||
%changelog
|
||||
* Fri Sep 27 2024 Automatic Build System <autodist@openmamba.org> 10.04.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 19 2024 Automatic Build System <autodist@openmamba.org> 10.03.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user