From 17819e6d2b7dfe0df1c40a616f8c113a085c97e2 Mon Sep 17 00:00:00 2001 From: niels Date: Sat, 13 Mar 2010 19:46:16 +0000 Subject: Fix coredump and take maintainership PR: ports/143035 Submitted by: Jonathan Hanna Approved by: itetcu (mentor) --- security/strobe/Makefile | 3 ++- security/strobe/files/patch-ab | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 security/strobe/files/patch-ab 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; -- cgit