CmdEscapeCheck(): signals buffer overflow
CmdEscapeCheck(): signals buffer overflow

If the RxBuffer[] buffer is too small to contain the reader response
then IFD_ERROR_INSUFFICIENT_BUFFER is returned.

Before the patch the returned buffer was silently truncated and
IFD_SUCCESS was returned.

Thanks to Maximilian Stein for the bug report
"[Pcsclite-muscle] libccid IFDHControl() / CmdEscape() might truncate reader response"
http://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20170213/000816.html

hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID