Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#691 GetUserName called with random buffer size

open
nobody
None
5
2012-09-26
2008-08-06
No

LangFrm.pas:140

var s : array [0..255] of char;
d : DWORD;
...
GetUserName(s, d);

d should be set to 255 before the call to GetUserName.

Discussion