mirror of
https://github.com/github/codeql.git
synced 2026-05-13 18:59:27 +02:00
9 lines
232 B
C
9 lines
232 B
C
void congratulateUser(const char *userName)
|
|
{
|
|
char buffer[80];
|
|
|
|
// BAD: this could overflow the buffer if the UserName is long
|
|
sprintf(buffer, "Congratulations, %s!", userName);
|
|
|
|
MessageBox(hWnd, buffer, "New Message", MB_OK);
|
|
} |