[PATCH] increase buffersize a bit
Marcus Meissner
marcus at jet.franken.de
Wed May 9 10:39:19 CDT 2007
spotted by coverity.
it can only really overflow when CURR_DIR is around MAX_PATH chars
longth, which usually does not happen.
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 d349371..6082d6f 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -1141,7 +1141,7 @@ static void create_cc_test_files(void)
static void delete_cab_files(void)
{
SHFILEOPSTRUCT shfl;
- CHAR path[MAX_PATH];
+ CHAR path[MAX_PATH+10];
lstrcpyA(path, CURR_DIR);
lstrcatA(path, "\\*.cab");
--
1.4.3.4
More information about the wine-patches
mailing list