summaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-tests::libtest::lib541.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-03-07 03:57:38 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-03-07 03:57:38 +0000
commit1ec0906e4945a23baf1df56c0385c9ccf9ac8e67 (patch)
tree9b7f56d2e9ae6066ea2e877834065970cab6d44c /ftp/curl/files/patch-tests::libtest::lib541.c
parentRemove math/cxsc per expiration note. (diff)
Update to curl-7.19.4, which fixes a redirection vulnerability.
The changes in the patch files are almost the same as in Eugene's PR, although I arrived at them mostly independently :) Reformat all patch files now that I use quilt to manage them. Fix two complaints from portlint: needless use of CFLAGS and differentiation between NOPORTDOCS and NOPORTEXAMPLES. Thanks, Eugene! PR: 132358 Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Notes
Notes: svn path=/head/; revision=229602
Diffstat (limited to 'ftp/curl/files/patch-tests::libtest::lib541.c')
-rw-r--r--ftp/curl/files/patch-tests::libtest::lib541.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ftp/curl/files/patch-tests::libtest::lib541.c b/ftp/curl/files/patch-tests::libtest::lib541.c
index 3f9b54766614..a6157d08da8a 100644
--- a/ftp/curl/files/patch-tests::libtest::lib541.c
+++ b/ftp/curl/files/patch-tests::libtest::lib541.c
@@ -1,6 +1,7 @@
-diff -urN -x .svn ../../vendor/curl/tests/libtest/lib541.c ./tests/libtest/lib541.c
---- ../../vendor/curl/tests/libtest/lib541.c 2008-09-22 00:15:55.000000000 +0300
-+++ ./tests/libtest/lib541.c 2009-01-21 16:12:25.000000000 +0200
+Use fstat() instead of stat() to avoid a race condition.
+
+--- a/tests/libtest/lib541.c
++++ b/tests/libtest/lib541.c
@@ -48,12 +48,24 @@
return -1;
}