From 179a6100def72c8c527a1855769b3f4500be044e Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Thu, 30 Jun 2022 11:11:41 -0500 Subject: [PATCH] Add missing CWE(s) to FF1057's warning text --- flawfinder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flawfinder.py b/flawfinder.py index 1e7eb04..fbaac2c 100755 --- a/flawfinder.py +++ b/flawfinder.py @@ -1500,7 +1500,7 @@ c_ruleset = { "access", "", {}, "FF1056"), "InitializeCriticalSection": - (normal, 3, "Exceptions can be thrown in low-memory situations", + (normal, 3, "Exceptions can be thrown in low-memory situations (CWE-248, CWE-400)", "Use InitializeCriticalSectionAndSpinCount instead", "misc", "", {}, "FF1057"),