bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=91b3476d515255eb5b6a8ed78b879f05eda5d3f3

commit 91b3476d515255eb5b6a8ed78b879f05eda5d3f3
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Mar 25 10:12:54 2020 +0100

    suite_helper: do not use stacked values here
    
    this is ending up beeing garbage pointers when not properly overwritten.
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11597
---
 src/tests/elementary/suite_helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/elementary/suite_helpers.c 
b/src/tests/elementary/suite_helpers.c
index 6ecb9ac2b0..19ae04b301 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -336,7 +336,7 @@ suite_setup(Eina_Bool legacy)
      failed_count = _efl_suite_build_and_run(0, NULL,
                                              "Efl_Ui_Init", ui_init, NULL, 
NULL);
 
-   failed_count += !elm_init(1, (char*[]){"exe"});
+   failed_count += !elm_init(1, args);
    if (buffer)
      {
         global_win = _elm_suite_win_create();

-- 


Reply via email to