summaryrefslogtreecommitdiff
path: root/net-p2p/napshare/files/patch-aa
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /net-p2p/napshare/files/patch-aa
parentFix the string format vulnerability desribed at (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Diffstat (limited to 'net-p2p/napshare/files/patch-aa')
-rw-r--r--net-p2p/napshare/files/patch-aa14
1 files changed, 0 insertions, 14 deletions
diff --git a/net-p2p/napshare/files/patch-aa b/net-p2p/napshare/files/patch-aa
deleted file mode 100644
index 9eb943e6f166..000000000000
--- a/net-p2p/napshare/files/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/hosts.c.orig Sat Jan 4 13:25:05 2003
-+++ src/hosts.c Sat Jan 4 13:27:43 2003
-@@ -265,6 +265,11 @@
- g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", path);
- cachef = fopen(h_tmp, "r"); // open the normal file
- }
-+ // Try opening from data directory
-+ if (cachef == NULL) {
-+ g_snprintf(h_tmp, sizeof(h_tmp), "%s/NAPS-urlcache.txt", PACKAGE_DATA_DIR);
-+ cachef = fopen(h_tmp, "r");
-+ }
- }
-
- if (!cachef) {