Date: Mon, 5 Jan 2015 14:00:04 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376300 - in head/net-mgmt/xymon-server: . files Message-ID: <201501051400.t05E04GA032033@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Mon Jan 5 14:00:03 2015 New Revision: 376300 URL: https://svnweb.freebsd.org/changeset/ports/376300 QAT: https://qat.redports.org/buildarchive/r376300/ Log: Add patch to fix xymonnet crashing when a DNS check returns an AAAA record PR: 196495 Submitted by: kvedulv@kvedulv.de Added: head/net-mgmt/xymon-server/files/patch-xymonnet_dns2.c (contents, props changed) Modified: head/net-mgmt/xymon-server/Makefile Modified: head/net-mgmt/xymon-server/Makefile ============================================================================== --- head/net-mgmt/xymon-server/Makefile Mon Jan 5 13:39:52 2015 (r376299) +++ head/net-mgmt/xymon-server/Makefile Mon Jan 5 14:00:03 2015 (r376300) @@ -2,7 +2,7 @@ PORTNAME= xymon PORTVERSION= 4.3.18 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt www #MASTER_SITES= SF/xymon/Xymon/${PORTVERSION} MASTER_SITES= https://www.xymon.com/patches/ Added: head/net-mgmt/xymon-server/files/patch-xymonnet_dns2.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/xymon-server/files/patch-xymonnet_dns2.c Mon Jan 5 14:00:03 2015 (r376300) @@ -0,0 +1,11 @@ +--- xymonnet/dns2.c.orig 2015-01-05 13:46:32 UTC ++++ xymonnet/dns2.c +@@ -472,7 +472,7 @@ static const unsigned char *display_rr(c + /* The RR data is a 16-byte IPv6 address. */ + if (dlen != 16) return NULL; + memcpy(&addr6, aptr, sizeof(struct in6_addr)); +- addtobuffer_many(response->msgbuf, "\t", inet_ntop(AF_INET6,&addr6,msg,sizeof(msg)) ); ++ addtobuffer_many(response->msgbuf, "\t", inet_ntop(AF_INET6,&addr6,msg,sizeof(msg)), NULL); + break; + + case T_WKS:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501051400.t05E04GA032033>