Aric Stewart : usp10/tests: Initialize our SCRIPT_VISATTR array.
Module: wine Branch: master Commit: 8836da818e66e52b478c369850b8fea0b3688dfc URL: http://source.winehq.org/git/wine.git/?a=commit;h=8836da818e66e52b478c369850... Author: Aric Stewart <aric(a)codeweavers.com> Date: Wed Oct 19 12:54:37 2011 -0500 usp10/tests: Initialize our SCRIPT_VISATTR array. Found by Valgrind and Dan Kegel. --- dlls/usp10/tests/usp10.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c index 180bcfb..1cf1463 100644 --- a/dlls/usp10/tests/usp10.c +++ b/dlls/usp10/tests/usp10.c @@ -1901,6 +1901,7 @@ static void test_ScriptXtoX(void) HRESULT hr; memset(&sa, 0 , sizeof(SCRIPT_ANALYSIS)); + memset(psva, 0, sizeof(psva)); sa.fRTL = FALSE; hr = ScriptXtoCP(-1, 10, 10, pwLogClust, psva, piAdvance, &sa, &piCP, &piTrailing);
participants (1)
-
Alexandre Julliard