Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information