diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-09 22:44:26 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-09 22:44:26 +0000 |
commit | c76accc624f1e3f31072f7645f5faa19ccd697b6 (patch) | |
tree | 2e3f5344a8e43628e2a13972a9b416be4cb364db /chapter06/ed.xml | |
parent | 39892f15d118e2d7aa2fa937e1ce2f5b9ac09919 (diff) |
Miscellaneous adjustments.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3244 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ed.xml')
-rw-r--r-- | chapter06/ed.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chapter06/ed.xml b/chapter06/ed.xml index e3e14ca15..a5e9d3942 100644 --- a/chapter06/ed.xml +++ b/chapter06/ed.xml @@ -23,11 +23,9 @@ days.</para></note> <para>Ed normally uses the <emphasis>mktemp</emphasis> function to create temporary files in <filename class="directory">/tmp</filename>, but this function contains a vulnerability (see the section on Temporary Files in <ulink -url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). The -following patch makes Ed use <emphasis>mkstemp</emphasis> instead, which is -the recommended way to create temporary files.</para> - -<para>Apply the patch:</para> +url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). Apply +the following patch to make Ed use <emphasis>mkstemp</emphasis> instead, a +secure way to create temporary files:</para> <screen><userinput>patch -Np1 -i ../&ed-patch;</userinput></screen> |