mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:33:07 +00:00
[KBSWITCH]
Fix buffer overflow. Static strings are already \0 terminated. CID #515202 svn path=/trunk/; revision=62637
This commit is contained in:
parent
76c78c7e26
commit
28313aeb0c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ CreateTrayIcon(LPTSTR szLCID)
|
||||||
szBuf,
|
szBuf,
|
||||||
sizeof(szBuf) / sizeof(TCHAR)) == 0)
|
sizeof(szBuf) / sizeof(TCHAR)) == 0)
|
||||||
{
|
{
|
||||||
lstrcpy(szBuf, _T("??\0"));
|
lstrcpy(szBuf, _T("??"));
|
||||||
}
|
}
|
||||||
|
|
||||||
hdcsrc = GetDC(NULL);
|
hdcsrc = GetDC(NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue