|
@@ -10,10 +10,10 @@ days.</para></note>
|
|
|
|
|
|
<para>Ed uses mktemp to create temporary files in <filename
|
|
<para>Ed uses mktemp to create temporary files in <filename
|
|
class="directory">/tmp</filename>, but this function has a security
|
|
class="directory">/tmp</filename>, but this function has a security
|
|
-vulnerability (see section on Temporary Files in
|
|
|
|
-<ulink url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>).
|
|
|
|
-This patch makes Ed use mkstemp instead, which is the recommended way to
|
|
|
|
-create temporary files.</para>
|
|
|
|
|
|
+vulnerability (see section on Temporary Files in <ulink
|
|
|
|
+url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). This
|
|
|
|
+patch makes Ed use mkstemp instead, which is the recommended way to create
|
|
|
|
+temporary files.</para>
|
|
|
|
|
|
<para>Apply the patch:</para>
|
|
<para>Apply the patch:</para>
|
|
|
|
|
|
@@ -32,11 +32,10 @@ create temporary files.</para>
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
|
<para>We need to move the Ed binaries to the <filename
|
|
<para>We need to move the Ed binaries to the <filename
|
|
-class="directory">/bin</filename> directory so they may be used in
|
|
|
|
-the event that the <filename class="directory">/usr</filename>
|
|
|
|
-partition is unavailable.</para>
|
|
|
|
|
|
+class="directory">/bin</filename> directory so they may be used in the event
|
|
|
|
+that the <filename class="directory">/usr</filename> partition is
|
|
|
|
+unavailable.</para>
|
|
|
|
|
|
<para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para>
|
|
<para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
-
|
|
|