Date: Wed, 2 Mar 2016 07:58:13 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409915 - in head/dns/fastresolve: . files Message-ID: <201603020758.u227wDGr016140@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Wed Mar 2 07:58:13 2016 New Revision: 409915 URL: https://svnweb.freebsd.org/changeset/ports/409915 Log: dns/fastresolve: fix segfault PR: 207589, 207628 Submitted by: Miroslav Lachman <000.fbsd@quip.cz>, Dan Lukes <dan@obluda.cz>, Chris Hutchinsin <portmaster@bsdforge.com> (maintainer) Added: head/dns/fastresolve/files/patch-dns-terror_BoolString.h (contents, props changed) Modified: head/dns/fastresolve/Makefile head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc head/dns/fastresolve/files/patch-dns-terror_getline.c Modified: head/dns/fastresolve/Makefile ============================================================================== --- head/dns/fastresolve/Makefile Wed Mar 2 07:00:56 2016 (r409914) +++ head/dns/fastresolve/Makefile Wed Mar 2 07:58:13 2016 (r409915) @@ -3,7 +3,7 @@ PORTNAME= fastresolve PORTVERSION= 2.10 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= dns MASTER_SITES= http://BSDforge.com/projects/source/dns/fastresolve/ Added: head/dns/fastresolve/files/patch-dns-terror_BoolString.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/fastresolve/files/patch-dns-terror_BoolString.h Wed Mar 2 07:58:13 2016 (r409915) @@ -0,0 +1,10 @@ +--- dns-terror/BoolString.h.orig 2003-05-17 17:58:52 UTC ++++ dns-terror/BoolString.h +@@ -56,6 +56,7 @@ public: + BoolString &operator=(const BoolString &other) { + str = other.str; + flag = other.flag; ++ return *this; + } + int operator<(const BoolString &other) const { + return strcmp(str, other.str) < 0; Modified: head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc ============================================================================== --- head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc Wed Mar 2 07:00:56 2016 (r409914) +++ head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc Wed Mar 2 07:58:13 2016 (r409915) @@ -1,6 +1,6 @@ ---- dns-terror/DatedStringDb.cc.orig Sat Sep 6 18:38:24 2003 -+++ dns-terror/DatedStringDb.cc Sat Sep 6 18:38:31 2003 -@@ -69,7 +69,11 @@ +--- dns-terror/DatedStringDb.cc.orig 2003-05-17 18:14:35 UTC ++++ dns-terror/DatedStringDb.cc +@@ -69,7 +69,11 @@ DatedStringDb::DatedStringDb(const char env->set_cachesize(0, MPOOL_SIZE, 0); env->open(dbhome, DB_CREATE|DB_INIT_MPOOL|DB_PRIVATE, 0644); db = new Db(env, 0); Modified: head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc ============================================================================== --- head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc Wed Mar 2 07:00:56 2016 (r409914) +++ head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc Wed Mar 2 07:58:13 2016 (r409915) @@ -1,6 +1,6 @@ ---- dns-terror/dns-terror.cc.orig Mon Oct 4 13:28:02 2004 -+++ dns-terror/dns-terror.cc Mon Oct 4 13:28:53 2004 -@@ -331,8 +331,7 @@ +--- dns-terror/dns-terror.cc.orig 2003-05-17 18:04:55 UTC ++++ dns-terror/dns-terror.cc +@@ -331,8 +331,7 @@ submit_query(adns_state ads, BoolStringM } r = adns_submit(ads, rev, adns_r_ptr_raw, Modified: head/dns/fastresolve/files/patch-dns-terror_getline.c ============================================================================== --- head/dns/fastresolve/files/patch-dns-terror_getline.c Wed Mar 2 07:00:56 2016 (r409914) +++ head/dns/fastresolve/files/patch-dns-terror_getline.c Wed Mar 2 07:58:13 2016 (r409915) @@ -1,6 +1,6 @@ ---- dns-terror/getline.c.orig 2009-03-25 02:34:45.000000000 -0400 -+++ dns-terror/getline.c 2009-03-25 02:38:48.000000000 -0400 -@@ -26,6 +26,7 @@ +--- dns-terror/getline.c.orig 2002-10-07 02:53:13 UTC ++++ dns-terror/getline.c +@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suit is defined. */ #define _GNU_SOURCE 1 #include <stdio.h> @@ -8,7 +8,7 @@ #include <sys/types.h> #if defined __GNU_LIBRARY__ && HAVE_GETDELIM -@@ -134,6 +135,7 @@ +@@ -134,6 +135,7 @@ getstr (lineptr, n, stream, terminator, return ret; } @@ -16,7 +16,7 @@ int getline (lineptr, n, stream) char **lineptr; -@@ -152,4 +154,5 @@ +@@ -152,4 +154,5 @@ getdelim (lineptr, n, delimiter, stream) { return getstr (lineptr, n, stream, delimiter, 0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603020758.u227wDGr016140>