Changeset 881d8cf for general/genutils


Ignore:
Timestamp:
05/19/2020 06:50:13 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.