projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4fee60
)
[ZIPFLDR] Fix PathCompactPathW writing out of bounds
author
Mark Jansen
<mark.jansen@reactos.org>
Sun, 6 Sep 2020 12:28:56 +0000
(14:28 +0200)
committer
Mark Jansen
<mark.jansen@reactos.org>
Sun, 6 Sep 2020 12:28:56 +0000
(14:28 +0200)
CORE-17245
dll/shellext/zipfldr/CZipExtract.cpp
patch
|
blob
|
history
diff --git
a/dll/shellext/zipfldr/CZipExtract.cpp
b/dll/shellext/zipfldr/CZipExtract.cpp
index
f9dd21d
..
1ccba19
100644
(file)
--- a/
dll/shellext/zipfldr/CZipExtract.cpp
+++ b/
dll/shellext/zipfldr/CZipExtract.cpp
@@
-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();