diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 95aa53ddb..481610039 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -32,14 +32,14 @@ needed to build an LFS system: Bzip2 Documentation Patch - 1 KB: - + Bzip2 Bzgrep Security Fixes Patch - 1 KB: - + diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml index cc4e011fc..fc3c89272 100644 --- a/chapter06/bzip2.xml +++ b/chapter06/bzip2.xml @@ -32,14 +32,14 @@ GCC, Glibc, and Make Apply a patch to install the documentation for this package: -patch -Np1 -i ../&bzip2-docs-patch; +patch -Np1 -i ../bzip2-&bzip2-version;-install_docs-1.patch The bzgrep command does not escape '|' and '&' in filenames passed to it. This allows arbitrary commands to be executed with the privileges of the user running bzgrep. Apply the following to address this: -patch -Np1 -i ../&bzip2-bzgrep-patch; +patch -Np1 -i ../bzip2-&bzip2-version;-bzgrep_security-1.patch Prepare Bzip2 for compilation with: