[ rdesktop-Patches-3207973 ] rdesktop fails to connect when using smartcard

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Patches item #3207973, was opened at 2011-03-12 14:17
Message generated for change (Tracker Item Submitted) made by absmall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=3207973&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
Private: No
Submitted By: Aaron Small (absmall)
Assigned to: Nobody/Anonymous (nobody)
Summary: rdesktop fails to connect when using smartcard

Initial Comment:
When connecting to a remote winxp desktop which uses smartcard login, I see the login fail after calling SCardGetAttrib with dwAttrLen = 0. The proper action here is to query the length of the attribute from the smartcard and return it to the server. Instead, rdesktop is attempting to allocate a 0-byte buffer, failing, and returning out-of-memory. Fix it by passing the attribute query on to pcsclite with an empty buffer, to determine the attribute length.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381349&aid=3207973&group_id=24366

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.