aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/zlib.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/zlib.xml')
-rw-r--r--chapter06/zlib.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
index 8aa195b62..43cada8d3 100644
--- a/chapter06/zlib.xml
+++ b/chapter06/zlib.xml
@@ -28,6 +28,10 @@ some programs.</para>
<sect2 role="installation">
<title>Installation of Zlib</title>
+<para>Zlib has a known security vulerability. Patch Zlib to resolve this:</para>
+
+<screen><userinput>patch -Np1 -i ../zlib-&zlib-version;-security-1.patch</userinput></screen>
+
<note><para>Zlib is known to build its shared library incorrectly if CFLAGS is
specified in the environment. If you are using your own CFLAGS variable, be
sure to add the <parameter>-fPIC</parameter> directive to your CFLAGS for the