tags 496411 security confirmed patch
thanks

Hi,

Yes, the bug is indeed present. Attached patch fixes it.


Thijs
--- fwb_install.orig	2008-08-25 17:11:20.000000000 +0200
+++ fwb_install	2008-08-25 17:12:43.000000000 +0200
@@ -93,9 +93,10 @@
 
 start_agent() {
     test -z "$SSH_AUTH_SOCK" && {
-        ssh-agent -s > /tmp/ssh-agent.$$
-        . /tmp/ssh-agent.$$
-        rm -f /tmp/ssh-agent.$$
+	AGENTTEMP=`mktemp -t ssh-agent.XXXXXXXXXX`
+        ssh-agent -s > $AGENTTEMP
+        . $AGENTTEMP
+        rm -f $AGENTTEMP
 	echo "SSH Agent started: $SSH_AGENT_PID"
 	echo
 	SSH_AGENT_PID_VAR_NAME="SSH_AGENT_PID_"$$

Attachment: pgpaBGSeD2UEr.pgp
Description: PGP signature

Reply via email to