From fd8d5ebc325e63bf46744a7dd35ab7e220228039 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 3 Feb 2025 07:24:35 -0600 Subject: [PATCH] Search fields in modinfo need leading \0 to avoid false positives. Reported by moetayuko. --- toys/other/modinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c index e1a64ba6..5a94a4fd 100644 --- a/toys/other/modinfo.c +++ b/toys/other/modinfo.c @@ -64,7 +64,7 @@ static void modinfo_file(char *full_name) for (i=0; i