This commit is contained in:
parent
c1fbc40c66
commit
3bc57f6cef
11
pcsc-lite-1.3.3-array.patch
Normal file
11
pcsc-lite-1.3.3-array.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/winscard_svc.c
|
||||
+++ src/winscard_svc.c
|
||||
@@ -90,8 +90,6 @@
|
||||
|
||||
if (i == PCSCLITE_MAX_APPLICATIONS_CONTEXTS)
|
||||
{
|
||||
- SYS_CloseFile(psContext[i].dwClientID);
|
||||
- psContext[i].dwClientID = 0;
|
||||
Log2(PCSC_LOG_CRITICAL, "No more context available (max: %d)",
|
||||
PCSCLITE_MAX_APPLICATIONS_CONTEXTS);
|
||||
return SCARD_F_INTERNAL_ERROR;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 17:32:11 CET 2007 - pgajdos@suse.cz
|
||||
|
||||
- fixed 'warning: array subscript is above array bounds' (#239174)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 14:08:53 CET 2007 - sbrabec@suse.cz
|
||||
|
||||
|
@ -15,7 +15,7 @@ Name: pcsc-lite
|
||||
%define ifddir %{_libdir}/readers
|
||||
BuildRequires: libusb pkg-config readline-devel resmgr
|
||||
Version: 1.3.3
|
||||
Release: 1
|
||||
Release: 3
|
||||
PreReq: %{insserv_prereq} %{fillup_prereq}
|
||||
# For upgrade from <= SLES9:
|
||||
PreReq: coreutils
|
||||
@ -28,6 +28,7 @@ Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: pcscd.init
|
||||
Source2: README.SUSE
|
||||
Source3: pre_checkin.sh
|
||||
Patch: %{name}-%{version}-array.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -76,6 +77,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%build
|
||||
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
||||
@ -139,7 +141,9 @@ fi
|
||||
%{_libdir}/*.*a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog -n pcsc-lite
|
||||
%changelog
|
||||
* Mon Mar 05 2007 - pgajdos@suse.cz
|
||||
- fixed 'warning: array subscript is above array bounds' (#239174)
|
||||
* Tue Feb 13 2007 - sbrabec@suse.cz
|
||||
- Updated to version 1.3.3:
|
||||
* Added -H --hotplug argument.
|
||||
|
Loading…
Reference in New Issue
Block a user