Nikolay Sivov : shell32: Add a note about a possible crash on NULL input.

Alexandre Julliard julliard at winehq.org
Mon Mar 22 11:12:05 CDT 2010


Module: wine
Branch: master
Commit: 6a0bdddfc416a99084ac21c9ea1b6672b2670f35
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6a0bdddfc416a99084ac21c9ea1b6672b2670f35

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Mar 21 18:55:34 2010 +0300

shell32: Add a note about a possible crash on NULL input.

---

 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);




More information about the wine-cvs mailing list