From 05dc77d7e5f31e210a7d93edf75e42eb66f1d26d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 28 Oct 2016 09:32:02 -0400 Subject: [PATCH] remote-refs: Add NULL terminator to options array Caught by `-fsanitize=undefined`. Closes: #552 Approved by: jlebon --- src/ostree/ot-remote-builtin-refs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ostree/ot-remote-builtin-refs.c b/src/ostree/ot-remote-builtin-refs.c index da3bcbb9..4317c45f 100644 --- a/src/ostree/ot-remote-builtin-refs.c +++ b/src/ostree/ot-remote-builtin-refs.c @@ -29,6 +29,7 @@ static char* opt_cache_dir; static GOptionEntry option_entries[] = { { "cache-dir", 0, 0, G_OPTION_ARG_STRING, &opt_cache_dir, "Use custom cache dir", NULL }, + { NULL } }; gboolean