🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7439

Bug#1156334: liblzma5: hardening-no-fortify-functions

#7439
From: Otto Kekäläinen
Date: Fri, 04 Dec 2026 09:30
35 lines
3375 bytes
Package: src:xz-utils
Version: 5.8.5-1

While reviewing the latest xz-utils 5.8.5-1 I noticed that it has now
started emitting these Lintian nags:

X: liblzma5: hardening-no-fortify-functions
[usr/lib/x86_64-linux-gnu/liblzma.so.5.8.5]
X: liblzma5-udeb udeb: hardening-no-fortify-functions
[usr/lib/x86_64-linux-gnu/liblzma.so.5.8.5]

This might be a regression from the previous version (unless the
Lintian tag is new). Additional context:

N:   This package provides an ELF binary that lacks the use of fortified libc
N:   functions. Either there are no potentially unfortified functions called by
N:   any routines, all unfortified calls have already been fully validated at
N:   compile-time, or the package was not built with the default Debian
N:   compiler flags defined by dpkg-buildflags. If built using dpkg-buildflags
N:   directly, be sure to import CPPFLAGS.
N:
N:   NB: Due to false-positives, Lintian ignores some unprotected functions
N:   (e.g. memcpy).
N:
N:   Please refer to https://wiki.debian.org/Hardening and Bug#673112 for
N:   details.
N:
N:   Visibility: info
N:   Show-Always: no
N:   Check: binaries/hardening
N:   This tag is experimental.

Considering the wide use uf liblzma I think it would make sense to
ensure it is fully hardened. I haven't checked yet the details of what
happened here or what flags need to be applied.
Technical Details
Message-ID: <O6xM5-fUt6-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Otto Kekäläinen <otto@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156334: liblzma5: hardening-no-fortify-functions
Date: Fri, 04 Dec 2026 10:30:01 +0100
Message-ID: <O6xM5-fUt6-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 09:29:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Otto Kekäläinen <otto@debian.org>, 1156334@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sebastian@breakpoint.cc
X-Debian-Pr-Message: report 1156334
X-Debian-Pr-Package: src:xz-utils
X-Debian-Pr-Source: xz-utils
X-Gm-Message-State: APuU4Z+7mZTjyAqzzfjfgJxgwBvdLg5R0V+nX5rdS4QteSUQNczXltmq
	Bul/09rSzgchUIphotFoFtpa0fG3sJe9FKJH206b4IAW+jYR2snLrVLSR+mc4ajwRVRdGUwt3cD
	XmE4FQ6xEUH+8yIgZqq/KW6NDZd7ela8=
X-Received: by 2002:a05:6122:eca:b0:5ea:e223:5437 with SMTP id
 71dfb90a1353d-5f01cfc92a0mr1254367e0c.12.1796376395347; Fri, 04 Dec 2026
 01:26:35 -0800 (PST)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CAOU6tAAhgJKuvc3qX7shn9GJTsmMDTubF=aWsRB4GhwbwUGz4g@mail.gmail.com>
X-Gm-Features: Aa3M54qXvo5f7qqG0PXpNUxHXGkETcJ9Ve6iLoB-8ya2_raP8eQwe7wat6Thy8E
Content-Type: text/plain; charset="UTF-8"
X-Debian-User: otto
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006902
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 4 Dec 2026 17:25:56 +0800
X-Original-Message-ID: <CAOU6tAAhgJKuvc3qX7shn9GJTsmMDTubF=aWsRB4GhwbwUGz4g@mail.gmail.com>