aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/tar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/tar.xml')
-rw-r--r--chapter06/tar.xml5
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>