[PATCH] Add a note about a possible crash on NULL input
Nikolay Sivov
nsivov at codeweavers.com
Sun Mar 21 10:55:34 CDT 2010
---
dlls/shell32/tests/autocomplete.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/autocomplete.c b/dlls/shell32/tests/autocomplete.c
index 569625f..76da0ea 100644
--- a/dlls/shell32/tests/autocomplete.c
+++ b/dlls/shell32/tests/autocomplete.c
@@ -59,6 +59,11 @@ static IAutoComplete *test_init(void)
}
ok(SUCCEEDED(r), "no IID_IACList (0x%08x)\n", r);
+if (0)
+{
+ /* crashes on native */
+ r = IAutoComplete_Init(ac, hEdit, NULL, NULL, NULL);
+}
/* bind to edit control */
r = IAutoComplete_Init(ac, hEdit, acSource, NULL, NULL);
ok(SUCCEEDED(r), "Init failed (0x%08x)\n", r);
--
1.5.6.5
--=-t5MUihl22FQ5yrjeGDYN--
More information about the wine-patches
mailing list