aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml9
-rw-r--r--chapter06/m4.xml4
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 0ca3eee77..9e3767d73 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,15 @@
</itemizedlist>
</listitem>
-->
+ <listitem>
+ <para>2006-08-17</para>
+ <itemizedlist>
+ <listitem>
+ <para>[matthew] - Fix a buffer overrun in m4-1.4.5 which causes two
+ of its tests to fail. Thanks to Greg Schafer for the report.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
<listitem>
<para>2006-08-08</para>
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>