summaryrefslogtreecommitdiffstats
path: root/main/open-iscsi-grsec/CVE-2009-1297.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-26 13:25:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-26 13:27:05 +0000
commit67c8945b73512567425e43923d0ef14db41ed2ac (patch)
treec7f3ba53861459812744eec81d952369db969fe8 /main/open-iscsi-grsec/CVE-2009-1297.patch
parente5412705b673d7a1650741b4c45d87ef915674f1 (diff)
downloadaports-67c8945b73512567425e43923d0ef14db41ed2ac.tar.bz2
aports-67c8945b73512567425e43923d0ef14db41ed2ac.tar.xz
main/open-iscsi*: upgrade to 2.0-872
Diffstat (limited to 'main/open-iscsi-grsec/CVE-2009-1297.patch')
-rw-r--r--main/open-iscsi-grsec/CVE-2009-1297.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/main/open-iscsi-grsec/CVE-2009-1297.patch b/main/open-iscsi-grsec/CVE-2009-1297.patch
deleted file mode 100644
index d1728fff7..000000000
--- a/main/open-iscsi-grsec/CVE-2009-1297.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- utils.orig/iscsi_discovery 2009-10-26 23:09:08.000000000 +0100
-+++ utils/iscsi_discovery 2009-10-26 23:11:56.000000000 +0100
-@@ -104,24 +104,22 @@
-
- connected=0
- discovered=0
-- df=/tmp/discovered.$$
-
- dbg "starting discovery to $ip"
-- iscsiadm -m discovery --type sendtargets --portal ${ip}:${port} > ${df}
-- while read portal target
-+ disc="$(iscsiadm -m discovery --type sendtargets --portal ${ip}:${port})"
-+ echo "${disc}" | while read portal target
- do
- portal=${portal%,*}
- select_transport
-- done < ${df}
-+ done
-
-- discovered=$(cat ${df} | wc -l)
-+ discovered=$(echo "${disc}" | wc -l)
- if [ ${discovered} = 0 ]; then
- echo "failed to discover targets at ${ip}"
- exit 2
- else
- echo "discovered ${discovered} targets at ${ip}"
- fi
-- /bin/rm -f ${df}
- }
-
- try_login()