Package: sharand
Version: 0.0.20120307-1
Severity: important
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
The CPPFLAGS hardening flags are missing due to a typo in
debian/rules.
The following patch fixes the issue.
diff -Nru sharand-0.0.20120307/debian/rules
sharand-0.0.20120307/debian/rules
--- sharand-0.0.20120307/debian/rules 2012-03-07 06:15:11.000000000 +0100
+++ sharand-0.0.20120307/debian/rules 2012-03-14 01:50:21.000000000 +0100
@@ -24,8 +24,8 @@
dh_installchangelogs $(CHANGELOG)
override_dh_auto_build: man
- $(CC) $(CFLAGS) $(CPPLAGS) -I. -c sha1.c
- $(CC) $(CFLAGS) $(CPPLAGS) $(LDFLAGS) -I. -o $(PACKAGE) shar*.c *.o
+ $(CC) $(CFLAGS) $(CPPFLAGS) -I. -c sha1.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -I. -o $(PACKAGE) shar*.c *.o
%:
dh $@
To check if all flags were correctly enabled you can use
`hardening-check` from the hardening-includes package and check
the build log (hardening-check doesn't catch everything):
$ hardening-check /usr/bin/sharand
/usr/bin/sharand:
Position Independent Executable: yes
Stack protected: yes
Fortify Source functions: yes
Read-only relocations: yes
Immediate binding: yes
Use find -type f \( -executable -o -name \*.so\* \) -exec
hardening-check {} + on the build result to check all files.
Regards,
Simon
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPX+wAAAoJEJL+/bfkTDL5YAIQAJIOji6bN+xmroav4W9xFUtL
nU38PJtEgqlb2WYbwpUg6Dc+QOuZgnEGjvFELUvFHn4TyOPeS55WJRHptGXqXOAc
B0UeA4m6Lx7AfbCBpyYNrWOMGD9LAOghdY2Tt4qIV/O6Z8FUjl1qGuqWeExrEE3J
+822AmhbzlchzaDukBLbBZxTMHEhSnAr51omDRg3phC0glD6eNPPNCWiW8PY9G/5
hP8buZStbaqRdRZxosWoBU2H6YTBAuO8Syd19yPpo0/45Ffw260wBWCvTgKvjV+U
/53ERUkmCNwQ7uZq4s7FnioSkWas+tG5r2Bt/FcjJC6ROryYKUN/HTQlj+AkuLz/
l0hZeFeaMkk43ens/vM4R9bpEAOZiRcMRpCwUwVk7nHBgmshziEVwzEtcH5vBynA
XRPWsVuiRV7mlICBgK2e4ASH+ZOsowx0Krf+DoVKMxN2+N6pOWaZs0AGGDiCmmnw
Xo+GX3O0+1YBTk+/xDM328ZLCTiKZSMXvSTB09M0RFysewOt40KrObPWSicRd3L+
dJIax4KAXRrJ17AAguTct+jD4f0DgDANmY9reO/9yngEtWbO41/W9vJ9kxZrh7Kk
D/V6dzCOnU3DQ0nmzPV0GpuSQ6BHnhw2jSo5GUdxDTtmqjmHasOoNzt2MWGINuvT
xFQV9FyH0I2bcbhFqtug
=xY5S
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]