struct odp_init_t init_data was not fully initalized. Fixes https://bugs.linaro.org/show_bug.cgi?id=1206
Signed-off-by: Mike Holmes <[email protected]> --- v2 Use memset to cover the expansion of the struct in future test/validation/odp_init_log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/validation/odp_init_log.c b/test/validation/odp_init_log.c index 372d4f5..c072147 100644 --- a/test/validation/odp_init_log.c +++ b/test/validation/odp_init_log.c @@ -17,6 +17,7 @@ static void test_odp_init_global_replace_log(void) int status; struct odp_init_t init_data; + memset(&init_data, 0, sizeof(init_data)); init_data.log_fn = &odp_init_log; replacement_logging_used = 0; -- 2.1.0 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
