Your message dated Sat, 21 Jun 2008 12:15:32 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#487261: pcsc-tools: gscriptor does not separate 
commands correctly
has caused the Debian Bug report #487261,
regarding pcsc-tools: gscriptor does not separate commands correctly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
487261: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487261
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: pcsc-tools
Version: 1.4.8-1
Severity: normal
Tags: patch

When executing the script with the following two commands, an error occurs:
script window:
A0 A4 00 00 02 3f 00
A0 A4 00 00 02 7f 10

result window:
Sending: A0 A4 00 00 02 3F 00
Received: 9F 16
Error not defined by ISO 7816

Sending: A0 A4 00 00 02 3F A0 A4 00 00 02 7F 10

Errors During Script Execution: Transaction failed.

It seems that the command variable does not get reset properly. The
attached trivial patch fixes it.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pcsc-tools depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgtk2-perl           1:1.140-1         Perl interface to the 2.x
series o
ii  libpcsc-perl           1.4.4-1           Perl interface to the PC/SC
smart
ii  libpcsclite1           1.3.2-5           Middleware to access a
smart card

pcsc-tools recommends no packages.

-- no debconf information
--- /usr/bin/gscriptor.orig	2006-11-26 15:59:41.000000000 +0100
+++ /usr/bin/gscriptor	2008-06-20 17:43:18.000000000 +0200
@@ -842,6 +842,7 @@
 
 			# Extract bytes from the ascii string
 			$raCurrentCommand = Chipcard::PCSC::ascii_to_array($cmd);
+			$cmd="";
 
 			# push them in the Display structure
 			push @ResultStruct, "Sending: ";

--- End Message ---
--- Begin Message ---
tom a écrit :
Package: pcsc-tools
Version: 1.4.8-1
Severity: normal
Tags: patch

When executing the script with the following two commands, an error occurs:
script window:
A0 A4 00 00 02 3f 00
A0 A4 00 00 02 7f 10

result window:
Sending: A0 A4 00 00 02 3F 00
Received: 9F 16
Error not defined by ISO 7816

Sending: A0 A4 00 00 02 3F A0 A4 00 00 02 7F 10

Errors During Script Execution: Transaction failed.

It seems that the command variable does not get reset properly. The
attached trivial patch fixes it.

This bug has been corrected in pcsc-tools version 1.4.10.

The latest version is now 1.4.14 and is available in Debian testing (Lenny) and unstable (sid).

I can't correct this bug in Debian Etch. You can try to use the package from testing or backport it if you have problems with dependencies.

Thanks

--
 Dr. Ludovic Rousseau


--- End Message ---

Reply via email to