Ignore:
Timestamp:
04/24/2015 03:19:38 AM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
320fdc6
Parents:
41727289
Message:

Added a fix for security issue in Glibc (CVE-2015-1781).
Thanks to Ken Moffat for identifying the proplem and the fix.

Fixed Ncurses and Perl build with GCC 5. Thanks to Ken Moffat and
Douglas R. Reno for providing the patches.

Updated to GCC-5.1.0. Imported changes from systemd version.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10903 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r41727289 rbb189b0  
    7575    -i  sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
    7676
     77    <para>Fix a potential security issue identified upstream:</para>
     78
     79<screen><userinput remap="pre">sed -i '/glibc.*pad/{i\  buflen = buflen > pad ? buflen - pad : 0;
     80                     s/ + pad//}' resolv/nss_dns/dns-host.c</userinput></screen>
     81
     82    <para>Fix a test case that fails when built using GCC 5:</para>
     83
     84<screen><userinput remap="pre">sed -e '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' \
     85    -i elf/Makefile</userinput></screen>
     86
    7787    <para>The Glibc documentation recommends building Glibc outside of the source
    7888    directory in a dedicated build directory:</para>
     
    8898    --enable-kernel=&min-kernel; \
    8999    --enable-obsolete-rpc</userinput></screen>
    90 
    91     <variablelist>
    92       <title>The meaning of the new configure options:</title>
    93 
    94       <varlistentry>
    95         <term><parameter>--enable-obsolete-rpc</parameter></term>
    96         <listitem>
    97           <para>Installs NIS and RPC related headers that are not installed by
    98           default; these are required to rebuild Glibc and by several BLFS
    99           packages.</para>
    100         </listitem>
    101       </varlistentry>
    102 
    103     </variablelist>
    104100
    105101    <para>Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.