aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/grep.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-04 03:23:00 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-04 03:23:00 +0000
commit326224b21fa847158049d89fea60ba734343abaa (patch)
tree7d9c47057fef219b33d4a99e34a7a752fa67f11b /chapter06/grep.xml
parentb304545f357ff9afcf45617ebd801f3d5a4c3055 (diff)
Add seds to grep and e3fsprogs to fix security issues found upstream.
Remove unrecognized option in eudev. Minor text corrections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10863 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/grep.xml')
-rw-r--r--chapter06/grep.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/grep.xml b/chapter06/grep.xml
index 58b0db366..126b65182 100644
--- a/chapter06/grep.xml
+++ b/chapter06/grep.xml
@@ -40,6 +40,10 @@
<sect2 role="installation">
<title>Installation of Grep</title>
+ <para>First fix a potential security issue identified upstream:</para>
+
+<screen><userinput remap="configure">sed -i -e '/tp++/a if (ep &lt;= tp) break;' src/kwset.c</userinput></screen>
+
<para>Prepare Grep for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>