Lintian tag: debian-rules-should-not-use-sanitize-all-buildflag

Type: error

Description (from lintian-explain-tags)

This package's debian/rules file contains a DEB_BUILD_MAINT_OPTIONS
assignment that enables the sanitize=+all build flag.

This option instructs the compiler to enable options designed to protect
the binary against memory corruptions, memory leaks, use after free,
threading data races, and undefined behavior bugs.

However, this options should not be used for production Debian binaries as
they can reduce reliability for conformant code, reduce security or even
functionality.

Please remove the reference to sanitize=+all.

Please refer to the dpkg-buildflags(1) manual page and Bug#895811 for
details.

Visibility: error
Show-Always: no
Check: debian/rules

Show affected packages