From 6c88898dd668f21b0e89c8ec15cfb474b2054eea Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 3 May 2010 04:36:11 +0000 Subject: Add a patch to fix a bug that causes a buffer overflow when creating a new tar file. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9265 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/tar.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter06') diff --git a/chapter06/tar.xml b/chapter06/tar.xml index 9b7bc4e4e..52176566f 100644 --- a/chapter06/tar.xml +++ b/chapter06/tar.xml @@ -44,6 +44,11 @@ sed -i /SIGPIPE/d src/tar.c + Also, fix a bug that causes a buffer overflow when creating a new + tar file. This fix is needed when building with gcc-4.5 and later. + +patch -Np1 -i ../&tar-overflow-patch; + Prepare Tar for compilation: ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin -- cgit v1.2.3-54-g00ecf