checked ifd.c and vpcd.c with flawfinder rats and pscan

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@315 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-10-11 10:59:07 +00:00
parent 938d09730b
commit 76cb2ee0c6

View File

@@ -88,6 +88,7 @@ IFDHGetCapabilities (DWORD Lun, DWORD Tag, PDWORD Length, PUCHAR Value)
return IFD_COMMUNICATION_ERROR;
}
/* Flawfinder: ignore */
memcpy(Value, atr, size);
*Length = size;
free(atr);
@@ -195,6 +196,7 @@ IFDHTransmitToICC (DWORD Lun, SCARD_IO_HEADER SendPci, PUCHAR TxBuffer,
}
(*RxLength) = size;
/* Flawfinder: ignore */
RxBuffer = memcpy(RxBuffer, rapdu, size);
free(rapdu);
RecvPci->Protocol = 1;