diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2010-05-03 04:36:11 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2010-05-03 04:36:11 +0000 |
commit | 6c88898dd668f21b0e89c8ec15cfb474b2054eea (patch) | |
tree | c2e54ffab146ce1dc5f3c9d0e5233efb87ee9abf /chapter06/tar.xml | |
parent | f00a9d4134a896494685d1b0f78962fb309f74b1 (diff) |
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
Diffstat (limited to 'chapter06/tar.xml')
-rw-r--r-- | chapter06/tar.xml | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ <screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen> + <para>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.</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&tar-overflow-patch;</userinput></screen> + <para>Prepare Tar for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen> |