Louis-Philippe Véronneau pushed to branch master at lintian / lintian


Commits:
2fd67e52 by Aurelien Jarno at 2026-01-04T17:15:02+01:00
hardening-no-fortify-functions: fix detection of IEEE 128-bit long double

On ppc64el, long double got changed from IBM 128-bit long double to IEEE
128-bit long double [1]. This causes many chk functions to appear as
"__$name_chkieee128", in turns causing many false positive. Note that
"ieee128" is placed after "chk".

Fix that by updating the regex, allowing "ieee128" after the "chk".

[1] https://lists.debian.org/debian-powerpc/2025/08/msg00003.html

- - - - -


1 changed file:

- lib/Lintian/Check/Binaries/Hardening.pm


Changes:

=====================================
lib/Lintian/Check/Binaries/Hardening.pm
=====================================
@@ -138,7 +138,7 @@ sub visit_installed_files {
         next
           unless $symbol->section eq 'UND';
 
-        if ($symbol->name =~ /^__(\S+)_chk$/) {
+        if ($symbol->name =~ /^__(\S+)_chk(|ieee128)$/) {
 
             my $vulnerable = $1;
             push(@elf_hardened, $vulnerable)



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2fd67e52ebc3898829d5e327ddfa14ae8cac887c

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2fd67e52ebc3898829d5e327ddfa14ae8cac887c
You're receiving this email because of your account on salsa.debian.org.


Reply via email to