diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-09 17:01:17 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-08-09 17:01:57 +0200 |
commit | 39ee60a719eb6ffde76ccc232d79273c473d7a93 (patch) | |
tree | 739d0148f6cabf8d1d1789e4a273883281137874 | |
parent | 5641780762723156b0d20a0b9f7df1d76831bab0 (diff) | |
download | glibc-39ee60a719eb6ffde76ccc232d79273c473d7a93.tar.gz glibc-39ee60a719eb6ffde76ccc232d79273c473d7a93.tar.xz glibc-39ee60a719eb6ffde76ccc232d79273c473d7a93.zip |
support: Add options list terminator to the test driver
This avoids crashes if a test is passed unknown options. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> (cherry picked from commit c2a474f4617ede7a8bf56b7257acb37dc757b2d1)
-rw-r--r-- | support/test-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |