From: Paul Smith Date: Wed, 16 Nov 2022 14:27:53 +0000 (-0500) Subject: * src/main.c (main): [SV 63373] Don't use macros with memcmp() X-Git-Tag: 4.4.0.90~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53b8f6a5da5cd8c585d0de28d7ad6a8912061c64;p=thirdparty%2Fmake.git * src/main.c (main): [SV 63373] Don't use macros with memcmp() Reported by djm --- 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 == '-') {