diff options
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> |