From c2a474f4617ede7a8bf56b7257acb37dc757b2d1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 9 Aug 2024 17:01:17 +0200 Subject: [PATCH] support: Add options list terminator to the test driver This avoids crashes if a test is passed unknown options. Reviewed-by: Adhemerval Zanella --- support/test-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/test-driver.c b/support/test-driver.c index f4c3e4d666..04ceebc08f 100644 --- a/support/test-driver.c +++ b/support/test-driver.c @@ -155,6 +155,7 @@ main (int argc, char **argv) { CMDLINE_OPTIONS TEST_DEFAULT_OPTIONS + { 0, } }; test_config.options = &options; #endif -- 2.43.5