From nobody Wed Jan 8 15:30:01 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSsL15DYfz5kd4l; Wed, 08 Jan 2025 15:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSsL14htgz4qlS; Wed, 8 Jan 2025 15:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736350201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B30sC3WKzTctlwSBYC4XHW2NuoogV89g6PdBT1UQRNk=; b=OB+O7X8GzXQVuSbDwJvHLvP2JhLLMayEr0Qsw+lib1K6vMlEfBUC031OG+eZkA8UUm8n/+ qi0Nz90GWxumjwhQXZxmm3zRXmeGOL6a257KPV1BwyRE2EbF7ZOXkldHBifUdRP8kvazJ8 iCvq6xnGBd1LEziUBik/7vldEAjidXNF8R8rUOVFmcp+bxsfqpkCe+7jYQ0oV1ed8eZKxd yZXIB7RcYLJaDN2Dp6k6rFQYcIklHXKfjVYMWsGrCoQSk4UWmHr1yA0MQAKQ1aXM2RtTzz UWKvxs0BSv4jLRdcFl+PczVgMRa6VXhzj907HZIPpyaNKoSv+A0kWyLB53DLvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736350201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B30sC3WKzTctlwSBYC4XHW2NuoogV89g6PdBT1UQRNk=; b=XgP5MzvdgReVr/usj04xaR8FdwZggEWR4I26kwN5HD3rsRxc6fz1wWXPQhZ3SJpn47AORP wgYVyi90PpisA3C58HOY9cshwuuztQeiMEoPV8tUWC0OD2NuxIQs984gS0T1qEauYYCotu 0CfFbbRd7OK12p9SPe/6IN6VsS85Ut8Dp9YsS1CHT7csQ1EQQllUa8o9G9iLSRV5Z3XpYX ABhblXadmqv5KIhlKGIenEIa2whhjtBrKJ7p+DU0ERKS++Q66zg1GC4h6aqD11S3jMZCVV G3FdYCSdcXfG7b6UvAE5IM6JztQQRB2wpZ2Pc4DjMrWJNvGFttEknBhm+AaDDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736350201; a=rsa-sha256; cv=none; b=hmnCAF0FblD+GtGQuC3Wb3l71dgiI2uZr9JEm59zxIUSByoSM7aKGcJt/UqqrJpBUMLMx6 9fZry2iKWK+7VsuUl+K12o0n6DrX4Hk6bgLZ6G4/SJuwiBkxdQHpRjRrqmiqXL9hCrgxk+ afVbBaHU96llQXtLokGFIPeDFvTlG862ISW1eRYZXpqFw+AUFvH/888Wi5jGBQLdERfNri 0Dbgh2lmnkgPMwgRtpWEP8EaGZ9ToANu8BKWfY4ZhQldsNhB+DhO6ulnmGfaqZLLL1Ua9Z o7Iw8pnVnJ6qy7nv3wxEJESmTAES9IOrxDmrlLBrE/hDX0YntASEzzL+per0jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YSsL14FlKz12H6; Wed, 08 Jan 2025 15:30:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 508FU1ZN009253; Wed, 8 Jan 2025 15:30:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 508FU1GK009248; Wed, 8 Jan 2025 15:30:01 GMT (envelope-from git) Date: Wed, 8 Jan 2025 15:30:01 GMT Message-Id: <202501081530.508FU1GK009248@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: c822c10442a4 - main - dns/dnsmasq-devel: update to 2.91test6. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c822c10442a488fe79326e2095236b94ea1e4a22 Auto-Submitted: auto-generated The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=c822c10442a488fe79326e2095236b94ea1e4a22 commit c822c10442a488fe79326e2095236b94ea1e4a22 Author: Matthias Andree AuthorDate: 2025-01-08 15:28:31 +0000 Commit: Matthias Andree CommitDate: 2025-01-08 15:29:47 +0000 dns/dnsmasq-devel: update to 2.91test6. Also include one potential cache.c NULL deref which I have submitted upstream. Upstream Git log: * 0003db1 2025-01-07 | Fix crash introduced in 6656790f2498f2a0b21086bc4ab47a2e38429a7c (tag: v2.91test6) * 275f4a4 2025-01-07 | Remove arbitrary workspace size limit. (tag: v2.91test5) * 12e4565 2025-01-06 | Improve "chown of PID file failed" message for missing CAP_CHOWN [Andrew Sayers] * 7af26ee 2025-01-07 | Fix manpage typo. [Andrew Sayers] * 63dc6eb 2025-01-07 | Fix read_write() changes for TCP timeout. * 6656790 2025-01-07 | Handle queries with EDNS client subnet fields better. * c8de423 2025-01-07 | Fix finger-trouble in immediately previous commit. * c52653f 2025-01-06 | Correctly handle failure of pipe() call in swap_to_tcp() * e24c341 2025-01-01 | Fix wrong packet size when dumpong packets to file. --- dns/dnsmasq-devel/Makefile | 2 +- dns/dnsmasq-devel/distinfo | 6 +++--- dns/dnsmasq-devel/files/patch-src_cache.c | 11 +++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile index e5f3f775ccbb..808f2ddf1b33 100644 --- a/dns/dnsmasq-devel/Makefile +++ b/dns/dnsmasq-devel/Makefile @@ -1,5 +1,5 @@ PORTNAME= dnsmasq -DISTVERSION= 2.91test4 # remember to bump PORTEPOCH when going from test to rc! +DISTVERSION= 2.91test6 # remember to bump PORTEPOCH when going from test to rc! # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps: PORTREVISION= 0 PORTEPOCH= 5 diff --git a/dns/dnsmasq-devel/distinfo b/dns/dnsmasq-devel/distinfo index fd36946323e3..733a37b90308 100644 --- a/dns/dnsmasq-devel/distinfo +++ b/dns/dnsmasq-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735656297 -SHA256 (dnsmasq-2.91test4.tar.xz) = 3766f12ed5c9e845f8bf110767d77585670779a9d8f7e0596e86c5836ec4cb88 -SIZE (dnsmasq-2.91test4.tar.xz) = 571648 +TIMESTAMP = 1736349936 +SHA256 (dnsmasq-2.91test6.tar.xz) = 394becd1c0a3a8565b61db8dbe1afb3241295b984275e46905e0c7271642c235 +SIZE (dnsmasq-2.91test6.tar.xz) = 571768 diff --git a/dns/dnsmasq-devel/files/patch-src_cache.c b/dns/dnsmasq-devel/files/patch-src_cache.c new file mode 100644 index 000000000000..d91038ed1a25 --- /dev/null +++ b/dns/dnsmasq-devel/files/patch-src_cache.c @@ -0,0 +1,11 @@ +--- src/cache.c.orig 2025-01-07 23:08:35 UTC ++++ src/cache.c +@@ -479,7 +479,7 @@ static struct crec *cache_scan_free(char *name, union + if ((crecp->flags & F_FORWARD) && hostname_isequal(cache_get_name(crecp), name)) + { + int rrmatch = 0; +- if (crecp->flags & flags & F_RR) ++ if (addr && crecp->flags & flags & F_RR) + { + unsigned short rrc = (crecp->flags & F_KEYTAG) ? crecp->addr.rrblock.rrtype : crecp->addr.rrdata.rrtype; + unsigned short rra = (flags & F_KEYTAG) ? addr->rrblock.rrtype : addr->rrdata.rrtype;