summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-07-09 21:07:19 +1000
committerDamien Miller <djm@mindrot.org>2008-07-09 21:07:19 +1000
commit73193b369333e9c2409aeef6caa9f4cefa8118a1 (patch)
tree6c4d72ac77bf0231da7bd0d92d239a7b05994f03
parent7acf550aeb4a0197095282bcbc845ec917599540 (diff)
- (djm) [configure.ac] Add -Wformat-security to CFLAGS for gcc 3.x and 4.x
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac8
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index acb399029..ca66ddad9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
4 account check failure path. The vulnerable format buffer is supplied 4 account check failure path. The vulnerable format buffer is supplied
5 from PAM and should not contain attacker-supplied data. 5 from PAM and should not contain attacker-supplied data.
6 - (djm) [auth.c] Missing unistd.h for close() 6 - (djm) [auth.c] Missing unistd.h for close()
7 - (djm) [configure.ac] Add -Wformat-security to CFLAGS for gcc 3.x and 4.x
7 8
820080705 920080705
9 - (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed 10 - (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed
@@ -4602,4 +4603,4 @@
4602 OpenServer 6 and add osr5bigcrypt support so when someone migrates 4603 OpenServer 6 and add osr5bigcrypt support so when someone migrates
4603 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 4604 passwords between UnixWare and OpenServer they will still work. OK dtucker@
4604 4605
4605$Id: ChangeLog,v 1.5068 2008/07/09 10:54:37 djm Exp $ 4606$Id: ChangeLog,v 1.5069 2008/07/09 11:07:19 djm Exp $
diff --git a/configure.ac b/configure.ac
index 33e138ab1..fcf7e416b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.408 2008/07/04 23:52:03 djm Exp $ 1# $Id: configure.ac,v 1.409 2008/07/09 11:07:19 djm Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.408 $) 18AC_REVISION($Revision: 1.409 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -107,8 +107,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
107 no_attrib_nonnull=1 107 no_attrib_nonnull=1
108 ;; 108 ;;
109 2.*) no_attrib_nonnull=1 ;; 109 2.*) no_attrib_nonnull=1 ;;
110 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; 110 3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;;
111 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; 111 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security" ;;
112 *) ;; 112 *) ;;
113 esac 113 esac
114 114