Fix a crash during signing
Resolves: RHEL-31934
This commit is contained in:
parent
6ed06c877c
commit
e93324f6a5
11
poppler-21.01.0-copy-filename.patch
Normal file
11
poppler-21.01.0-copy-filename.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- poppler-21.01.0/poppler/Form.cc
|
||||
+++ poppler-21.01.0/poppler/Form.cc
|
||||
@@ -603,7 +603,7 @@ bool FormWidgetSignature::signDocument(c
|
||||
// Get start and end file position of objNum in the PDF named filename.
|
||||
bool FormWidgetSignature::getObjectStartEnd(GooString *filename, int objNum, Goffset *objStart, Goffset *objEnd)
|
||||
{
|
||||
- PDFDoc newDoc(filename);
|
||||
+ PDFDoc newDoc(filename->copy());
|
||||
if (!newDoc.isOk())
|
||||
return false;
|
||||
|
@ -3,7 +3,7 @@
|
||||
Summary: PDF rendering library
|
||||
Name: poppler
|
||||
Version: 21.01.0
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
|
||||
URL: http://poppler.freedesktop.org/
|
||||
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz
|
||||
@ -47,6 +47,9 @@ Patch11: poppler-21.01.0-check-isDict.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2189810
|
||||
Patch12: poppler-21.01.0-XRef-check-isDict.patch
|
||||
|
||||
# https://issues.redhat.com/browse/RHEL-31934
|
||||
Patch13: poppler-21.01.0-copy-filename.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
@ -240,6 +243,10 @@ test "$(pkg-config --modversion poppler-qt5)" = "%{version}"
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 24 2024 Marek Kasik <mkasik@redhat.com> - 21.01.0-20
|
||||
- Fix a crash during signing
|
||||
- Resolves: RHEL-31934
|
||||
|
||||
* Thu Oct 12 2023 Marek Kasik <mkasik@redhat.com> - 21.01.0-19
|
||||
- Rebuild for inclusion of poppler-glib-doc in CRB
|
||||
- Resolves: RHEL-4274
|
||||
|
Loading…
Reference in New Issue
Block a user