From: Florian Weimer Date: Fri, 9 Aug 2024 15:01:17 +0000 (+0200) Subject: support: Add options list terminator to the test driver X-Git-Tag: glibc-2.41~746 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2a474f4617ede7a8bf56b7257acb37dc757b2d1;p=thirdparty%2Fglibc.git support: Add options list terminator to the test driver This avoids crashes if a test is passed unknown options. Reviewed-by: Adhemerval Zanella --- 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