aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/m4.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2006-08-17 19:21:28 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2006-08-17 19:21:28 +0000
commitc7c7c1c500363877021f78cc1b5da95a0d66d8b8 (patch)
tree82e360fb1cd3f6d96a11cf1712d1ad701d33262c /chapter06/m4.xml
parent7735466ca3f882d8f900bb1210459a52e87eefd2 (diff)
Fix a buffer overrun bug in m4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7767 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/m4.xml')
-rw-r--r--chapter06/m4.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter06/m4.xml b/chapter06/m4.xml
index fe5c5a6a6..12379790c 100644
--- a/chapter06/m4.xml
+++ b/chapter06/m4.xml
@@ -34,6 +34,10 @@
<sect2 role="installation">
<title>Installation of M4</title>
+ <para>Fix a buffer overrun in m4:</para>
+
+<screen><userinput>sed -i -e '1660 s/break;/return;/' src/builtin.c</userinput></screen>
+
<para>Prepare M4 for compilation:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>