Only allocate and fill input buffer if nInBufferSize>0. This allows for commands which do not have input data, like IOCTL_FEATURE_REQUEST.
Patch to fix a bug in TS_ScardControl
Hopefully at least this patch will become part of rdesktop. My other patch from 2006 still didn't make it into scard.c...
Revised version of patch 001.
Patch to fix a bug in TS_ScardControl
Hopefully at least this patch will become part of rdesktop. My other patch from 2006 still didn't make it into scard.c...
Revised version of patch 001.