From 2a633871380b57a4d97a27014f09d90c580635d6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 06 2019 11:01:36 +0000 Subject: import esc-1.1.0-42.el7 --- diff --git a/SOURCES/esc-1.1.0-fix30.patch b/SOURCES/esc-1.1.0-fix30.patch new file mode 100644 index 0000000..07d0e5c --- /dev/null +++ b/SOURCES/esc-1.1.0-fix30.patch @@ -0,0 +1,11 @@ +diff -up ./esc/src/app/daemon/escd.cpp.fix30 ./esc/src/app/daemon/escd.cpp +--- ./esc/src/app/daemon/escd.cpp.fix30 2019-03-21 14:21:28.584862691 -0700 ++++ ./esc/src/app/daemon/escd.cpp 2019-03-21 14:21:49.509745584 -0700 +@@ -406,6 +406,7 @@ int main(int argc, char **argv) + if(!display) + { + PR_LOG( escDLog, PR_LOG_ALWAYS, ("%s Daemon: Error Obtaining X Display! \n",GetTStamp(tBuff,56))); ++ exit(1); + } + + PR_LOG( escDLog, PR_LOG_ALWAYS, ("%s Daemon: Attempted XOpenDisplay: %p \n",GetTStamp(tBuff,56),display)); diff --git a/SPECS/esc.spec b/SPECS/esc.spec index 6e3e3d6..8fd3083 100644 --- a/SPECS/esc.spec +++ b/SPECS/esc.spec @@ -1,6 +1,6 @@ Name: esc Version: 1.1.0 -Release: 40%{?dist} +Release: 42%{?dist} Summary: Enterprise Security Client Smart Card Client License: GPL+ URL: http://directory.fedoraproject.org/wiki/CoolKey @@ -45,6 +45,7 @@ Patch26: esc-1.1.0-fix26.patch Patch27: esc-1.1.0-fix27.patch Patch28: esc-1.1.0-fix28.patch Patch29: esc-1.1.0-fix29.patch +Patch30: esc-1.1.0-fix30.patch BuildRequires: doxygen fontconfig-devel freetype-devel >= 2.1 BuildRequires: glib2-devel libIDL-devel atk-devel gtk2-devel libjpeg-devel @@ -128,6 +129,7 @@ cryptographic smartcards. %patch27 -p1 -b .fix37 %patch28 -p1 -b .fix28 %patch29 -p1 -b .fix29 +%patch30 -p1 -b .fix30 r=$(uname -r | sed -e 's/\(^[^.]*\.[^.]*\).*/\1/') [ -f esc/coreconf/Linux$r.mk ] || ln -s Linux3.5.mk esc/coreconf/Linux$r.mk @@ -278,6 +280,11 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then fi %changelog +* Tue Mar 26 2019 Jack Magne - 1.1.0-42 +- Related: Bug# 1358500 - Segmentation fault happens when escd runs with a NULL display. +- Resolve changelog entry error. +* Thu Mar 21 2019 Jack Magne - 1.1.0-41 +- Resolves: Bug# 1358500 - Segmentation fault happens when escd runs with a NULL display. * Fri Jan 19 2018 Jack Magne - 1.1.0-40 - Resolves: Bug #1466949, Relate: Bug #1523946 - [ppc64] ld switch to relro breaks GDB. This caused an rpmdiff failure. * Mon Jan 08 2018 Jack Magne - 1.1.0-39