| commit | 70eabdedd56e2be6c23a13eeffd8bf4c136ed7d1 | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@codeweavers.com> | Thu May 11 21:49:54 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Thu May 11 21:49:54 2000 +0000 |
| tree | 4604186dee061d5f7f1ede58924a73989b1ced25 | |
| parent | b905023c7403a17257fee5119397808fbddbea47 [diff] |
Fixed buffer overflow.
diff --git a/dlls/shell32/shlfolder.c b/dlls/shell32/shlfolder.c index 641e300..84c30ff 100644 --- a/dlls/shell32/shlfolder.c +++ b/dlls/shell32/shlfolder.c
@@ -2616,7 +2616,7 @@ /* set my path */ if (SHGetPathFromIDListA(pidl, sTemp)) { - This->sMyPath = SHAlloc(strlen(sTemp+1)); + This->sMyPath = SHAlloc(strlen(sTemp)+1); strcpy(This->sMyPath, sTemp); }