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)
iQIcBAEBCAAGBQJPYKivAAoJEJL+/bfkTDL5qc0P/ifHQnqGK+OMCFzqqfiZdk+b
KA9thuY7gcGdQEo0iEPqbrjoM4ms9GERCJQ8DaNPL0mnK8TsVf0jKX3TczZaKKi2
n06En+eWf1SKeEv2DdQZnYps54QCurT3RxGVLRoM5kS3VW8Irz2FpUZ0smG8GDAm
1f8Ij9ReGLvYGmGwWbU66ZegmLCnZIl/TeLib8LPj4BbwTgYQP1AFw+w4lZ9JbDd
61v2Kp/r+oGWAaVGOH+TftB0NNvxVennR40geKLkAG7U03dOGFp9r2U6MUNopyqb
3vv+ywQrvbZshUolQDY/ow4aU4o5Jh9xCxbgaOzajRblMuC1BYzm9nFX0voQmAAD
KFs2thCIGCGfFdfGYgEE34aMc2kSniZwspI9Ru1yFS9zU75O1nATougDyZziSpzU
TzOaOOEmX/Efxns9elwKWM3eTXClLwW6iodYfpK3QS3sgLedoro7mEp4B9i0bFSb
q1NgHBGpsi5XRaaIXcIvMz+c7atB93CLbeTNNU9aXHTnTSRtwI3SKyGVPDecgoyI
02knCMid0V2NwWr5s48tJ72UGLPwQ8vTKlgqrxJYEYkkN1cxgzwVKJqS0S7LAomr
cYPb3N9gwvXknPK83OvtsZIol6TxYwFp/I5zk7olwm5nMWS6JZv7nGKbNg4k+7sP
CZwSUitikJLOsqzPrLvQ
=OI9h
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]