mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 05:51:26 +08:00
[ZIPFLDR] Fix PathCompactPathW writing out of bounds
CORE-17245
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user