mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Add a patch to fix a bug that causes a buffer overflow when
creating a new tar file. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9265 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f00a9d4134
commit
6c88898dd6
@ -39,6 +39,12 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>2010-05-03</para>
|
<para>2010-05-03</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[bdubbs] - Added a patch to fix a buffer overflow
|
||||||
|
errror in tar. The fix is specific to building with gcc-4.5
|
||||||
|
and later.
|
||||||
|
Fixes <ulink url="&lfs-ticket-root;2651">#2610</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[bdubbs] - Added precedures for the new diffutils test
|
<para>[bdubbs] - Added precedures for the new diffutils test
|
||||||
suite.
|
suite.
|
||||||
|
@ -172,6 +172,14 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>Tar Overflow Patch - <token>&tar-overflow-patch-size;</token>:</term>
|
||||||
|
<listitem>
|
||||||
|
<para>Download: <ulink url="&patches-root;&tar-overflow-patch;"/></para>
|
||||||
|
<para>MD5 sum: <literal>&tar-overflow-patch-md5;</literal></para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<!-- <varlistentry>
|
<!-- <varlistentry>
|
||||||
<term>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
|
<term>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -44,6 +44,11 @@
|
|||||||
|
|
||||||
<screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
|
<screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
|
||||||
|
|
||||||
|
<para>Also, fix a bug that causes a buffer overflow when creating a new
|
||||||
|
tar file. This fix is needed when building with gcc-4.5 and later.</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">patch -Np1 -i ../&tar-overflow-patch;</userinput></screen>
|
||||||
|
|
||||||
<para>Prepare Tar for compilation:</para>
|
<para>Prepare Tar for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
||||||
|
@ -95,6 +95,10 @@
|
|||||||
<!ENTITY shadow-useradd-patch-md5 "5f35528f38d5432d5fa2dd79d04bdfdd">
|
<!ENTITY shadow-useradd-patch-md5 "5f35528f38d5432d5fa2dd79d04bdfdd">
|
||||||
<!ENTITY shadow-useradd-patch-size "6.1 KB"> -->
|
<!ENTITY shadow-useradd-patch-size "6.1 KB"> -->
|
||||||
|
|
||||||
|
<!ENTITY tar-overflow-patch "tar-&tar-version;-overflow_fix-1.patch">
|
||||||
|
<!ENTITY tar-overflow-patch-md5 "1912ec36d2a0e2b96678651cf583ce6f">
|
||||||
|
<!ENTITY tar-overflow-patch-size "1.7 KB">
|
||||||
|
|
||||||
|
|
||||||
<!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch">
|
<!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch">
|
||||||
<!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59">
|
<!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59">
|
||||||
|
Loading…
Reference in New Issue
Block a user