[ rdesktop-Bugs-2956486 ] On session redirect, username get truncated
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2956486, was opened at 2010-02-22 04:33 Message generated for change (Tracker Item Submitted) made by abeloin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=2956486&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: Internals Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Alexandre Beloin (abeloin) Assigned to: Nobody/Anonymous (nobody) Summary: On session redirect, username get truncated Initial Comment: Project: rDesktop / trunk Revision: 1563 When a session gets redirected, rDesktop give the authentication credentials to the new session but the username is truncated to the declared size of the array. Fix it by changing line 977 from sizeof to strlen to: STRNCPY(g_username, g_redirect_username, strlen(g_username) + 1); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=2956486&group_id=24366 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev