diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-30 11:51:27 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-30 11:51:27 +0000 |
commit | 3b3e965d2933fadf3933216cbf53373f7cfa1b8a (patch) | |
tree | d4c5aad73b462158b2b9751fa306375c9c0e0f2b /chapter06/ed-exp.xml | |
parent | ca6391e6590484cfb50a436acd844cd199b9e5d5 (diff) |
Fix bug #316 - replace sed's with patches. Done for c5-fileutils, c6-glibc, c6-gawk and c6-ed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1947 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ed-exp.xml')
-rw-r--r-- | chapter06/ed-exp.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/ed-exp.xml b/chapter06/ed-exp.xml index 41e4d35e4..a9a2792a3 100644 --- a/chapter06/ed-exp.xml +++ b/chapter06/ed-exp.xml @@ -1,10 +1,11 @@ <sect2> <title>Command explanations</title> -<para>The sed commands fix a symlink vulnerability in ed. The ed -executable creates files in /tmp with predictable names. By using -various symlink attacks, it is possible to have ed write to files -it should not, change the permissions of various files, etc.</para> +<para><userinput>patch -Np1 -i ../ed-&ed-version;.patch:</userinput> This +patch fixes a symlink vulnerability in ed. The ed executable creates files +in /tmp with predictable names. By using various symlink attacks, it is +possible to have ed write to files it should not, change the permissions +of files, etc.</para> </sect2> |