Changeset 881d8cf


Ignore:
Timestamp:
05/19/2020 06:50:13 AM (17 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
1e5da9b
Parents:
5686268
Message:

Fix sharutils to avoid -fcommon and also a possible heap overflow

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23167 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r5686268 r881d8cf  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "18">                   <!-- Always 2 digits -->
     3<!ENTITY day          "19">                   <!-- Always 2 digits -->
    44<!ENTITY month        "05">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2020">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "May 18th, &year;">
     9<!ENTITY releasedate  "May 19th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/genutils/sharutils.xml

    r5686268 r881d8cf  
    8080
    8181    <para>
     82      Fix a heap buffer overflow, and an issue exposed by GCC-10:
     83    </para>
     84
     85<screen><userinput>sed -i 's/BUFSIZ/rw_base_size/' src/unshar.c &amp;&amp;
     86sed -i '/program_name/s/^/extern /' src/*opts.h</userinput></screen>
     87
     88    <para>
    8289      Install <application>Sharutils</application> by running
    8390      the following commands:
     
    8794echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h &amp;&amp;
    8895
    89 CFLAGS="$CFLAGS -fcommon" ./configure --prefix=/usr &amp;&amp;
     96./configure --prefix=/usr &amp;&amp;
    9097make</userinput></screen>
    9198
  • introduction/welcome/changelog.xml

    r5686268 r881d8cf  
    4343    -->
    4444    <listitem>
     45      <para>May 19th, 2020</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[pierre] - Two fixes for sharutils: prevent a heap overflow
     49          and avoid the use of -fcommon.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4555      <para>May 18th, 2020</para>
    4656      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.