[PATCH] RESUBMIT: allocate 1 byte more buffer.
Marcus Meissner
marcus at jet.franken.de
Sun Aug 12 11:30:43 CDT 2007
(resubmit)
Be careful when cut & pasting other code...
Spotted by Coverity.
Ciao, Marcus
---
dlls/msi/tests/install.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 2839e81..59783c2 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -1667,7 +1667,7 @@ static BOOL pf_exists(LPCSTR file)
static void delete_pfmsitest_files(void)
{
SHFILEOPSTRUCT shfl;
- CHAR path[MAX_PATH+10];
+ CHAR path[MAX_PATH+11];
lstrcpyA(path, PROG_FILES_DIR);
lstrcatA(path, "\\msitest\\*");
--
1.4.3.4
More information about the wine-patches
mailing list