From ae7856db48be161cb336c44fd188253bc06dd5ae Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 26 Jun 2017 21:38:52 +0100 Subject: text: NULL-terminate SI mask names The list should have a NULL sentry. Add one. testcase: 'interpret KP_Delete+AnyOfOrNaneo(ll)' Signed-off-by: Daniel Stone --- src/text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text.c b/src/text.c index ec8bdf8..1a44de4 100644 --- a/src/text.c +++ b/src/text.c @@ -204,6 +204,7 @@ const LookupEntry symInterpretMatchMaskNames[] = { { "AnyOf", MATCH_ANY }, { "AllOf", MATCH_ALL }, { "Exactly", MATCH_EXACTLY }, + { NULL, 0 }, }; const char * -- cgit v1.2.1