summaryrefslogtreecommitdiff
path: root/security/isakmpd/files/patch-isakmpd.c
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2004-12-14 11:49:45 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2004-12-14 11:49:45 +0000
commitebd97bd79dd24f0dc93f8d6d4cf9e641d3978895 (patch)
tree12539819cf04286523e6110adeb712a0e3895563 /security/isakmpd/files/patch-isakmpd.c
parentRoll back my previous commit. (diff)
- Update to a new snapshot from the OpenBSD 2.6 branch dated 20041207
which, among many other things, fixes the know security vulnerabilities. - Remove some notes about tracking NetBSD, since the port does not do that anymore. - Remove out-of-date information from pkg-descr. - Take maintainership. Approved by: nectar
Notes
Notes: svn path=/head/; revision=123999
Diffstat (limited to 'security/isakmpd/files/patch-isakmpd.c')
-rw-r--r--security/isakmpd/files/patch-isakmpd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/isakmpd/files/patch-isakmpd.c b/security/isakmpd/files/patch-isakmpd.c
new file mode 100644
index 000000000000..55efea2cfd6b
--- /dev/null
+++ b/security/isakmpd/files/patch-isakmpd.c
@@ -0,0 +1,11 @@
+--- isakmpd.c 25 Jun 2004 20:25:34 -0000 1.67
++++ isakmpd.c 7 Dec 2004 19:41:01 -0000
+@@ -386,7 +386,7 @@
+ if (fcntl(n, F_GETFL, 0) == -1 && errno == EBADF)
+ (void) open("/dev/null", n ? O_WRONLY : O_RDONLY, 0);
+
+- for (n = 1; n < _NSIG; n++)
++ for (n = 1; n < NSIG; n++)
+ signal(n, SIG_DFL);
+
+ /* Log cmd line parsing and initialization errors to stderr. */