#327 On session redirect, username get truncated

v1.8.2
closed-fixed
Internals (36)
5
2014-05-21
2010-02-22
No

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);

Discussion

  • Henrik Andersson

    The server redirection code has been rewritten and this is not an issue anymore.

     
  • Henrik Andersson

    • status: open --> open-fixed
    • Group: --> NextRelease
     
  • Henrik Andersson

    • status: open-fixed --> closed-fixed
    • assigned_to: Henrik Andersson
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks