aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/zlib-inst.xml
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2003-05-11 15:09:30 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2003-05-11 15:09:30 +0000
commit6e507556d6130fdc77ce5f4e8ad5cdcf5bfd94f5 (patch)
tree6c19427fb0888c2fcd4016b5a7303cdcd9642b61 /chapter06/zlib-inst.xml
parent7972fe02a9414332d72f39ebcc9fa950e3a879d0 (diff)
Applied Zack's patches. Untested at the moment, will do a build in a few minutes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2555 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/zlib-inst.xml')
-rw-r--r--chapter06/zlib-inst.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index 616adb20b..1de4994c3 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -3,6 +3,12 @@
<sect2>
<title>Installation of Zlib</title>
+<para>Zlib has a potential buffer overflow in its gzprintf() function,
+that, though difficult to take advantage of, should be taken care of. Do
+so by applying this patch:</para>
+
+<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;</userinput></screen></para>
+
<para>Prepare Zlib to be compiled:</para>
<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \