mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
[DESK]
Pass a buffer big enough to hold the drive size to _wsplitpath(). This fixes a buffer overrun. CID 1322097 svn path=/trunk/; revision=69662
This commit is contained in:
parent
34c9b63005
commit
71f36c710d
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ InstallScreenSaverW(
|
||||||
IN UINT nCmdShow)
|
IN UINT nCmdShow)
|
||||||
{
|
{
|
||||||
WCHAR pszSystemDir[MAX_PATH];
|
WCHAR pszSystemDir[MAX_PATH];
|
||||||
WCHAR pszDrive[2];
|
WCHAR pszDrive[3];
|
||||||
WCHAR pszPath[MAX_PATH];
|
WCHAR pszPath[MAX_PATH];
|
||||||
WCHAR pszFilename[MAX_PATH];
|
WCHAR pszFilename[MAX_PATH];
|
||||||
WCHAR pszExt[MAX_PATH];
|
WCHAR pszExt[MAX_PATH];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue