Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
staging
rpms
poppler
Commits
b6291a3b
Commit
b6291a3b
authored
Nov 09, 2021
by
Rocky Automation
📺
Browse files
import poppler-20.11.0-3.el8
parent
e265c560
Changes
2
Hide whitespace changes
Inline
Side-by-side
SOURCES/poppler-20.11.0-check-gdatetime.patch
0 → 100644
View file @
b6291a3b
--- poppler-20.11.0/glib/poppler-attachment.cc
+++ poppler-20.11.0/glib/poppler-attachment.cc
@@ -114,17 +114,21 @@
PopplerAttachment *_poppler_attachment_n
if (embFile->createDate()) {
priv->ctime = _poppler_convert_pdf_date_to_date_time(embFile->createDate());
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- /* This will overflow on dates from after 2038. This field is
- * deprecated, only kept for backward compatibility. */
- attachment->ctime = (GTime)g_date_time_to_unix(priv->ctime);
+ if (priv->ctime != NULL) {
+ /* This will overflow on dates from after 2038. This field is
+ * deprecated, only kept for backward compatibility. */
+ attachment->ctime = (GTime)g_date_time_to_unix(priv->ctime);
+ }
G_GNUC_END_IGNORE_DEPRECATIONS
}
if (embFile->modDate()) {
priv->mtime = _poppler_convert_pdf_date_to_date_time(embFile->modDate());
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- /* This will overflow on dates from after 2038. This field is
- * deprecated, only kept for backward compatibility. */
- attachment->mtime = (GTime)g_date_time_to_unix(priv->mtime);
+ if (priv->mtime != NULL) {
+ /* This will overflow on dates from after 2038. This field is
+ * deprecated, only kept for backward compatibility. */
+ attachment->mtime = (GTime)g_date_time_to_unix(priv->mtime);
+ }
G_GNUC_END_IGNORE_DEPRECATIONS
}
SPECS/poppler.spec
View file @
b6291a3b
...
...
@@ -4,7 +4,7 @@
Summary: PDF rendering library
Name: poppler
Version: 20.11.0
Release:
2
%{?dist}
.1
Release:
3
%{?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
...
...
@@ -21,8 +21,8 @@ Patch4: poppler-0.66.0-covscan.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1618766
Patch21: poppler-0.66.0-nss.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=
200263
8
Patch22: poppler-20.11.0-
bad-generation
.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=
198110
8
Patch22: poppler-20.11.0-
check-gdatetime
.patch
BuildRequires: cmake
BuildRequires: gettext-devel
...
...
@@ -228,9 +228,9 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}"
%{_mandir}/man1/*
%changelog
*
Thu Sep 9
2021 Marek Kasik <mkasik@redhat.com> - 20.11.0-
2.el8_4.1
- Fix
opening files with streams with wrong generation
s
- Resolves: #
200263
8
*
Wed Aug 4
2021 Marek Kasik <mkasik@redhat.com> - 20.11.0-
3
- Fix
crash when processing dates of embedded file
s
- Resolves: #
198110
8
* Tue Dec 8 2020 Marek Kasik <mkasik@redhat.com> - 20.11.0-2
- Improve python3 build dependency
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment