Properly initialize a data structure in OpenSSL to

avoid valgrind uninitialized value errors.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11627 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2019-06-29 23:44:33 +00:00
parent 09a046771f
commit 918e500203
2 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,11 @@
<listitem>
<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>

View File

@ -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(\&amp;data, 0, sizeof(data));/' \
crypto/rand/rand_lib.c</userinput></screen>
<para>Prepare OpenSSL for compilation:</para>
<screen><userinput remap="configure">./config --prefix=/usr \