Package: dpkg-dev
Version: 1.22.0
Severity: normal
Tag: patch

Hi,

-fstack-clash-protection is supposed to be enabled by default on amd64,
arm64, armhf, and armel since dpkg 1.22.0:
https://git.dpkg.org/cgit/dpkg/dpkg.git/diff/?id=11efff1bf

However, due to an issue in the following conditional in
scripts/Dpkg/Vendor/Debian.pm, the flag is only on for amd64 and arm64:

  if (none { $cpu eq $_ } qw(amd64 arm64 armhf armel)) {

The value of $cpu is "arm" for both armhf and armel. Please change the
line above to:

  if (none { $cpu eq $_ } qw(amd64 arm64 arm)) {

Thanks!
  Emanuele

Reply via email to