Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipe: Add missing terminator to list of unit tests

Add missing terminator to list of unit tests to avoid random crashes seen
when running the test.

Fixes: 10ca05a76065 ("ipe: kunit test for parser")
Cc: Deven Bowers <deven.desai@linux.microsoft.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Fan Wu <wufan@linux.microsoft.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Fan Wu <wufan@linux.microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>

authored by

Guenter Roeck and committed by
Paul Moore
f89722fa 8a23c9e1

+1
+1
security/ipe/policy_tests.c
··· 286 286 static struct kunit_case ipe_parser_test_cases[] = { 287 287 KUNIT_CASE_PARAM(ipe_parser_unsigned_test, ipe_policies_gen_params), 288 288 KUNIT_CASE(ipe_parser_widestring_test), 289 + { } 289 290 }; 290 291 291 292 static struct kunit_suite ipe_parser_test_suite = {