[Pcsclite-cvs-commit] r5144 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Aug 16 09:47:03 UTC 2010
Author: rousseau
Date: Mon Aug 16 09:47:02 2010
New Revision: 5144
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5144
Log:
Do not allow APDU logging when restricted
Modified:
trunk/PCSC/src/pcscdaemon.c
Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=5144&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Mon Aug 16 09:47:02 2010
@@ -254,6 +254,11 @@
return EXIT_SUCCESS;
case 'a':
+ if (limited_rights)
+ {
+ Log1(PCSC_LOG_CRITICAL, "Can't log APDU (restricted)");
+ return EXIT_FAILURE;
+ }
(void)DebugLogSetCategory(DEBUG_CATEGORY_APDU);
break;
More information about the Pcsclite-cvs-commit
mailing list