From: SourceForge.net <no...@so...> - 2006-10-12 17:40:44
|
Patches item #1576068, was opened at 2006-10-12 13:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381349&aid=1576068&group_id=24366 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: jared jennings (sarynx) Assigned to: Nobody/Anonymous (nobody) Summary: 64-bit smartcard support for 1.4.1 and 1.5.0 Initial Comment: These patches enable 64-bit smartcard support for both rdesktop 1.4.1 and 1.5.0. They apply against an rdesktop patched with the scard-20060626 patch (see patch #1314556 for 1.4.1, make sure you get the latest one, or patch #1576059 for 1.5.0). 1.4.1 crashes pretty unpredictably when you use these patches and keep your smartcard inserted throughout the session; usually within five or ten minutes of successful login, and sometimes within ten seconds. 1.5.0 seems, based on initial testing, to be much more stable than 1.4.1 with these patches when using a smartcard. The 64bit-translating patch depends on the 64bit-clean patch, which depends on the scard-20060626 patch. The first patch, 64bit-clean, gets rid of all the casts from pointers to unsigned longs and back, resolving hundreds of compiler warnings and preventing segfaults on startup. The second patch, 64bit-translating, takes care of translating between the 32-bit smartcard infrastructure present on all Windows terminal servers I've seen, and the 64-bit smartcard infrastructure on 64-bit Linux boxen. There are a few theoretically unsafe casts in there, but I think the numbers being casted never exceed 8000 or so. The translation is 32-bit transparent, so the same code will compile and run against both 32-bit and 64-bit pcsc-lite libraries. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381349&aid=1576068&group_id=24366 |