From 8fea8a746b54d6044df68ce7c63a9103605a3f6f Mon Sep 17 00:00:00 2001 From: Scott Barninger Date: Sat, 16 Feb 2008 13:53:37 +0000 Subject: [PATCH] Retract fix for FORTIFY_SOURCE. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6428 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/platforms/mandrake/bacula.spec.in | 7 ++----- bacula/platforms/redhat/bacula.spec.in | 7 ++----- bacula/platforms/suse/bacula.spec.in | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/bacula/platforms/mandrake/bacula.spec.in b/bacula/platforms/mandrake/bacula.spec.in index 5429a78546..f966a73891 100644 --- a/bacula/platforms/mandrake/bacula.spec.in +++ b/bacula/platforms/mandrake/bacula.spec.in @@ -1276,11 +1276,6 @@ export QTINC=/usr/lib64/qt4/include/ export QTLIB=/usr/lib64/qt4/ %endif -# most distributions now set default CFLAGS with -D_FORTIFY_SOURCE=2. -# from glibc 2.7 on this causes false detection of buffer overflows in -# the file daemon. -export CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0" - %configure \ --prefix=/usr \ --sbindir=/usr/sbin \ @@ -2240,6 +2235,8 @@ fi %endif %changelog +* Sat Feb 16 2008 D. Scott Barninger +- remove fix for false buffer overflow detection with glibc >= 2.7 * Sat Feb 09 2008 D. Scott Barninger - fix for false buffer overflow detection with glibc >= 2.7 * Sun Jan 27 2008 D. Scott Barninger diff --git a/bacula/platforms/redhat/bacula.spec.in b/bacula/platforms/redhat/bacula.spec.in index 5429a78546..f966a73891 100644 --- a/bacula/platforms/redhat/bacula.spec.in +++ b/bacula/platforms/redhat/bacula.spec.in @@ -1276,11 +1276,6 @@ export QTINC=/usr/lib64/qt4/include/ export QTLIB=/usr/lib64/qt4/ %endif -# most distributions now set default CFLAGS with -D_FORTIFY_SOURCE=2. -# from glibc 2.7 on this causes false detection of buffer overflows in -# the file daemon. -export CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0" - %configure \ --prefix=/usr \ --sbindir=/usr/sbin \ @@ -2240,6 +2235,8 @@ fi %endif %changelog +* Sat Feb 16 2008 D. Scott Barninger +- remove fix for false buffer overflow detection with glibc >= 2.7 * Sat Feb 09 2008 D. Scott Barninger - fix for false buffer overflow detection with glibc >= 2.7 * Sun Jan 27 2008 D. Scott Barninger diff --git a/bacula/platforms/suse/bacula.spec.in b/bacula/platforms/suse/bacula.spec.in index 5429a78546..f966a73891 100644 --- a/bacula/platforms/suse/bacula.spec.in +++ b/bacula/platforms/suse/bacula.spec.in @@ -1276,11 +1276,6 @@ export QTINC=/usr/lib64/qt4/include/ export QTLIB=/usr/lib64/qt4/ %endif -# most distributions now set default CFLAGS with -D_FORTIFY_SOURCE=2. -# from glibc 2.7 on this causes false detection of buffer overflows in -# the file daemon. -export CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0" - %configure \ --prefix=/usr \ --sbindir=/usr/sbin \ @@ -2240,6 +2235,8 @@ fi %endif %changelog +* Sat Feb 16 2008 D. Scott Barninger +- remove fix for false buffer overflow detection with glibc >= 2.7 * Sat Feb 09 2008 D. Scott Barninger - fix for false buffer overflow detection with glibc >= 2.7 * Sun Jan 27 2008 D. Scott Barninger -- 2.39.5