[Pcsclite-cvs-commit] r2568 - trunk/PCSC/src

rousseau at alioth.debian.org rousseau at alioth.debian.org
Tue Jun 19 12:37:13 UTC 2007


Author: rousseau
Date: 2007-06-19 12:37:13 +0000 (Tue, 19 Jun 2007)
New Revision: 2568

Modified:
   trunk/PCSC/src/pcscdaemon.c
Log:
SVCServiceRunLoop(): do not exit is CreateContextThread() fails. Avoids
a denial of service.

Thanks to Joshua J. Drake


Modified: trunk/PCSC/src/pcscdaemon.c
===================================================================
--- trunk/PCSC/src/pcscdaemon.c	2007-06-18 14:44:57 UTC (rev 2567)
+++ trunk/PCSC/src/pcscdaemon.c	2007-06-19 12:37:13 UTC (rev 2568)
@@ -175,11 +175,7 @@
 			rv = CreateContextThread(&dwClientID);
 
  			if (rv != SCARD_S_SUCCESS)
-			{
 				Log1(PCSC_LOG_ERROR, "Problem during the context thread creation");
-				AraKiri = TRUE;
-			}
-
 			break;
 
 		case 2:




More information about the Pcsclite-cvs-commit mailing list