Author: matthew
Date: 2006-08-17 13:21:28 -0600 (Thu, 17 Aug 2006)
New Revision: 7767
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/m4.xml
Log:
Fix a buffer overrun bug in m4
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2006-08-08 03:26:24 UTC (rev 7766)
+++ trunk/BOOK/chapter01/changelog.xml 2006-08-17 19:21:28 UTC (rev 7767)
@@ -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>
Modified: trunk/BOOK/chapter06/m4.xml
===================================================================
--- trunk/BOOK/chapter06/m4.xml 2006-08-08 03:26:24 UTC (rev 7766)
+++ trunk/BOOK/chapter06/m4.xml 2006-08-17 19:21:28 UTC (rev 7767)
@@ -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>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page