From 53b8f6a5da5cd8c585d0de28d7ad6a8912061c64 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 16 Nov 2022 09:27:53 -0500 Subject: [PATCH] * src/main.c (main): [SV 63373] Don't use macros with memcmp() Reported by djm --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 78729de1..b31ddd4d 100644 --- a/src/main.c +++ b/src/main.c @@ -1503,7 +1503,7 @@ main (int argc, char **argv, char **envp) /* If this is MAKE_RESTARTS, check to see if the "already printed the enter statement" flag is set. */ - if (len == 13 && memcmp (envp[i], STRING_SIZE_TUPLE ("MAKE_RESTARTS")) == 0) + if (len == 13 && memcmp (envp[i], "MAKE_RESTARTS", CSTRLEN ("MAKE_RESTARTS")) == 0) { if (*ep == '-') {