aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/vim.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index ee83d2134..537176681 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -27,6 +27,11 @@
<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h</userinput></screen>
+<para>Vim has a security vulnerability already addressed upstream. The
+following patch fixes the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../vim-&vim-version;-security_fix-1.patch</userinput></screen>
+
<para>Now prepare Vim for compilation:</para>
<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>