mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[ZIPFLDR] Fix PathCompactPathW writing out of bounds
CORE-17245
This commit is contained in:
parent
a4fee60e46
commit
53badbd2f7
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ public:
|
|||
{
|
||||
SetWizardButtons(PSWIZB_FINISH);
|
||||
CStringW Path = m_pExtract->m_Directory;
|
||||
PWSTR Ptr = Path.GetBuffer();
|
||||
PWSTR Ptr = Path.GetBuffer(MAX_PATH);
|
||||
RECT rc;
|
||||
::GetWindowRect(GetDlgItem(IDC_DESTDIR), &rc);
|
||||
HDC dc = GetDC();
|
||||
|
|
Loading…
Reference in a new issue