RFLockSharing() & RFUnlockSharing(): add a mutex to avoid a race
condition
Closes: [#311377] Race condition in SCardBeginTransaction
17 lines of code changed in 1 file:
log TxBuffer and RxBuffer if the SCardControl() command failed.
Closes: [#311376] PCSC_LOG_VERBOSE via -dd; print details of "Card not
transacted"
6 lines of code changed in 1 file:
StatSynchronizeContext() is used for a specific client. Correct the
comment.
2 lines of code changed in 1 file:
mark IFD_GENERATE_HOTPLUG as deprecated.
HAL now solves the hotplug problem for us.
6 lines of code changed in 1 file:
SCardCancel(): use StatSynchronizeContext() to send an event to the
waiting/blocked thread
Closes: [#311342] SCardCancel does not cancel an outstanding SCardGetStatusChange
6 lines of code changed in 1 file:
add StatSynchronizeContext() to send an asynchronous event to a specific
context
This function can be used from libpcsclite. Using StatSynchronize() does
not work since the directory pcscd.events/ is not readable by group and
other for security reasons
40 lines of code changed in 2 files:
WaitForPcscdEvent(): use hContext instead of a random to name the event
file
5 lines of code changed in 1 file:
improved version
9 lines of code changed in 1 file:
SCardCancel sample
45 lines of code changed in 1 file:
SCardGetStatusChange(): return if the state of the reader changed since the
previous call.
Thanks to Thomas Harning for the patch
Closes: [#311341] SCardGetStatusChange does not return CHANGED+EMPTY and
CHANGED+PRESENT sequence for remove-insert between calls
3 lines of code changed in 1 file:
test SCardGetStatusChange
125 lines of code changed in 2 files:
rename variable fd in profile_fd to avoid
winscard_clnt.c:1717: attention : declaration of �fd� shadows a global declaration
6 lines of code changed in 1 file:
release 1.5.1
10 lines of code changed in 2 files:
use offsetof(transmit_struct_extended, data) instead of sizeof(*treStr) since
from revision 2146 the data[] array has one element to be compilable by Sun
Studio 11
The side effect is that extended APDU were corrupted by 4 zero bytes between the two consecutive blocks
6 lines of code changed in 1 file:
use snprintf() to avoid a possible buffer overflow
2 lines of code changed in 1 file:
avoid a memory leak in case of DBus error
4 lines of code changed in 1 file:
script to call splint
17 lines of code changed in 1 file:
explicitly cast result in void when not used (reported by the splint tool)
23 lines of code changed in 1 file:
free mszReaders before returning
4 lines of code changed in 1 file:
do not cast malloc()
1 lines of code changed in 1 file:
tag output parameters with /*@out@*/
52 lines of code changed in 12 files:
tag potentially NULL paramater or returned value as /*@null@*/
18 lines of code changed in 6 files:
declare functions static where possible
13 lines of code changed in 1 file:
remove unused SVCClientCleanup() function
0 lines of code changed in 1 file:
mark unused parameter as /*@unused@*/ (reported by splint tool)
3 lines of code changed in 1 file:
no need to #include <syslog.h>
0 lines of code changed in 1 file:
not need to #include <syslog.h>
0 lines of code changed in 1 file:
declare functions static where possible
19 lines of code changed in 3 files:
mark unused parameter as /*@unused@*/ (reported by splint tool)
27 lines of code changed in 9 files:
remove blocktime parameter from SHMProcessEventsContext() and SHMProcessEventsServer() since this parameter is not used
6 lines of code changed in 4 files:
correct return types of SHMMessageSend() and SHMMessageReceive() to match declaration in winscard_msg.h (reported by splint tool)
2 lines of code changed in 1 file:
SHMInitializeCommonSegment(): use correct return type as defined in winscard_msg.h (reported by splint tool)
1 lines of code changed in 1 file:
reformat
7 lines of code changed in 1 file:
explicitly cast result in void when not used (reported by the splint tool)
341 lines of code changed in 20 files:
CFLAGS is now defined in ~/.bash_profile
3 lines of code changed in 1 file:
SYS_RandomInt(): replace a cast to (float) by an explicit conversion using +0.0
1 lines of code changed in 1 file: