From f9dfe8d5e0d3f628659702ab781b7919505c829f Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 8 May 2025 11:04:22 +0100 Subject: [PATCH] contrib: remove bdb exception from FORTIFY check BDB has been removed (#28710), so we no-longer need to ignore functions from BDB in this check. --- contrib/devtools/security-check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/devtools/security-check.py b/contrib/devtools/security-check.py index 4c20685b51c..cc1eed9d269 100755 --- a/contrib/devtools/security-check.py +++ b/contrib/devtools/security-check.py @@ -130,9 +130,8 @@ def check_ELF_FORTIFY(binary) -> bool: if match: chk_funcs.add(match.group(0)) - # ignore stack-protector and bdb + # ignore stack-protector chk_funcs.discard('__stack_chk') - chk_funcs.discard('__db_chk') return len(chk_funcs) >= 1