Fix validation errors in bzip2

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7012 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2005-10-14 20:18:19 +00:00
parent 587a5123d8
commit c11fdfd91d
2 changed files with 4 additions and 4 deletions

View File

@ -32,14 +32,14 @@ needed to build an LFS system:</para>
<varlistentry>
<term>Bzip2 Documentation Patch - 1 KB:</term>
<listitem>
<para><ulink url="&patches-root;&bzip2-docs-patch;"/></para>
<para><ulink url="&patches-root;bzip2-&bzip2-version;-install_docs-1.patch"/></para>
</listitem>
</varlistentry>
<varlistentry>
<term>Bzip2 Bzgrep Security Fixes Patch - 1 KB:</term>
<listitem>
<para><ulink url="&patches-root;&bzip2-bzgrep-patch;"/></para>
<para><ulink url="&patches-root;bzip2-&bzip2-version;-bzgrep_security-1"/></para>
</listitem>
</varlistentry>

View File

@ -32,14 +32,14 @@ GCC, Glibc, and Make</seg></seglistitem>
<para>Apply a patch to install the documentation for this package:</para>
<screen><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
<screen><userinput>patch -Np1 -i ../bzip2-&bzip2-version;-install_docs-1.patch</userinput></screen>
<para>The <command>bzgrep</command> command does not escape '|' and '&amp;' in
filenames passed to it. This allows arbitrary commands to be executed with the
privileges of the user running <command>bzgrep</command>. Apply the following to
address this:</para>
<screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
<screen><userinput>patch -Np1 -i ../bzip2-&bzip2-version;-bzgrep_security-1.patch</userinput></screen>
<para>Prepare Bzip2 for compilation with:</para>