aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-02-04 05:20:24 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-02-04 05:20:24 +0000
commite8ed03794cd84370db2b1a61c934d77ae6c3751b (patch)
tree829252ff11d24a5003576805e29710d771753f62 /chapter06
parenta20bfb4974c368cc695108d03dbfbddd423b28d0 (diff)
update gzip patch expl.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2424 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gzip-inst.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 28d387f77..892ebfba5 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -3,9 +3,10 @@
<sect2>
<title>Installation of Gzip</title>
-<para>A buffer overflow may occur if <userinput>gzip</userinput>
-encounters a filename over 1020 characters in length. Apply the
-patch to fix this problem:</para>
+<para>The following patch fixes a buffer overflow that occurs when a
+filename is longer than 1020 characters. It does this by inserting a check
+that the buffer is large enough for the given filename. The program exits
+with the message "Filename too long" the buffer is not large enough.</para>
<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch</userinput></screen></para>