aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniels <niels@FreeBSD.org>2010-03-14 03:46:16 +0800
committerniels <niels@FreeBSD.org>2010-03-14 03:46:16 +0800
commit17819e6d2b7dfe0df1c40a616f8c113a085c97e2 (patch)
tree5472dde70b745e734c4e4deb9163e4d4f64e36f8
parent85581b794f998200da51129e140c09afcf9bb9c7 (diff)
downloadfreebsd-ports-gnome-17819e6d2b7dfe0df1c40a616f8c113a085c97e2.tar.gz
freebsd-ports-gnome-17819e6d2b7dfe0df1c40a616f8c113a085c97e2.tar.zst
freebsd-ports-gnome-17819e6d2b7dfe0df1c40a616f8c113a085c97e2.zip
Fix coredump and take maintainership
PR: ports/143035 Submitted by: Jonathan Hanna <jhanna [at] pangolin-systems.com> Approved by: itetcu (mentor)
-rw-r--r--security/strobe/Makefile3
-rw-r--r--security/strobe/files/patch-ab11
2 files changed, 13 insertions, 1 deletions
diff --git a/security/strobe/Makefile b/security/strobe/Makefile
index 4ca596179587..04dc369233e9 100644
--- a/security/strobe/Makefile
+++ b/security/strobe/Makefile
@@ -7,12 +7,13 @@
PORTNAME= strobe
PORTVERSION= 1.06
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://ftp.ussg.iu.edu/security/tools/unix/scanners/strobe/ \
http://ftp.cerias.purdue.edu/pub/tools/unix/scanners/strobe/ \
http://ftp.surfnet.nl/security/coast/scanners/strobe/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= niels@FreeBSD.org
COMMENT= Fast scatter/gather TCP port scanner
WRKSRC= ${WRKDIR}/strobe
diff --git a/security/strobe/files/patch-ab b/security/strobe/files/patch-ab
new file mode 100644
index 000000000000..d837bb999738
--- /dev/null
+++ b/security/strobe/files/patch-ab
@@ -0,0 +1,11 @@
+--- strobe.orig 2010-03-13 19:26:31.000000000 +0100
++++ strobe.c 2010-03-13 19:27:06.000000000 +0100
+@@ -1297,7 +1297,7 @@
+ exit (1);
+ }
+ port_descs=(struct port_desc_s **) Smalloc(sizeof(struct port_descs_s *) * 65536);
+- memset(port_descs, 0, 65536);
++ memset(port_descs, 0, sizeof(struct port_descs_s *) * 65536);
+ while (fgets (lbuf, sizeof (lbuf), fh))
+ {
+ char *p;