Author: bdubbs
Date: Sat Jun 29 16:44:33 2019
New Revision: 11627
Log:
Properly initialize a data structure in OpenSSL to
avoid valgrind uninitialized value errors.
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/openssl.xml
Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml Sat Jun 29 15:49:56 2019 (r11626)
+++ trunk/BOOK/chapter01/changelog.xml Sat Jun 29 16:44:33 2019 (r11627)
@@ -58,6 +58,11 @@
<para>2019-06-16</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Properly initialize a data structure in
+ OpenSSL to avoid valgrind uninitialized value errors. Fixes
+ <ulink url="&lfs-ticket-root;4491">#4491</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Update to meson-0.51.0. Fixes
<ulink url="&lfs-ticket-root;4483">#4483</ulink>.</para>
</listitem>
Modified: trunk/BOOK/chapter06/openssl.xml
==============================================================================
--- trunk/BOOK/chapter06/openssl.xml Sat Jun 29 15:49:56 2019 (r11626)
+++ trunk/BOOK/chapter06/openssl.xml Sat Jun 29 16:44:33 2019 (r11627)
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of OpenSSL</title>
+ <para>First, fix a problem identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i '/\} data/s/ =.*$/;\n
memset(\&data, 0, sizeof(data));/' \
+ crypto/rand/rand_lib.c</userinput></screen>
+
<para>Prepare OpenSSL for compilation:</para>
<screen><userinput remap="configure">./config --prefix=/usr \
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page