mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-09 22:04:35 +01:00
update gzip patch expl.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2424 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a20bfb4974
commit
e8ed03794c
@ -3,9 +3,10 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Gzip</title>
|
<title>Installation of Gzip</title>
|
||||||
|
|
||||||
<para>A buffer overflow may occur if <userinput>gzip</userinput>
|
<para>The following patch fixes a buffer overflow that occurs when a
|
||||||
encounters a filename over 1020 characters in length. Apply the
|
filename is longer than 1020 characters. It does this by inserting a check
|
||||||
patch to fix this problem:</para>
|
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>
|
<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch</userinput></screen></para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user