aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/zlib-inst.xml
diff options
context:
space:
mode:
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" \