From nobody Wed May 22 13:23:21 2024 X-Original-To: dev-commits-src-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 4VksST6nLKz5LjHr; Wed, 22 May 2024 13:23:21 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VksST4yQhz43fr; Wed, 22 May 2024 13:23:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716384201; 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=H+Xz+tn4IFljaKkignUN0XQ+vE4n0zDdLmMH9vBA1KA=; b=rVDJrnKuE+zEyf+KY+VTNRuTxUbl1GtE0sVmOkoEaxjJ9qikoDyZXo90r0fiQ3CoaVtran MXzKrrn9YHCgNhxncSNs+6oS1d0CNeWJJk5yfx4nfkd78kAEtQQOrU8th6eEBy9+xzZnht xli7cSpsX8tJYgAN4MFC097JjVWLbZn4rFdZ3ss/P+EtfbZmgC9DGqCJag3qSEhe4nAdM+ JAui6NU6KUrILbwunMk0qz3oM+f1g6JvSWI/gonk9DQVZnvXaplZrYnFmaLbVbEkvdEsLJ BUrmWPnb0AbG6MACx8v55BYBNB/4pAvcpPc6HJ7SpxBs3OUZk3+BsxfsCcYGAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716384201; a=rsa-sha256; cv=none; b=eXJ79bJPchOsRUtyKzYP+IhU2xTgf98wQ2Nnxxkb+M+mv6W1ycGcNoZmNaonMlqM+ONVIN 3pMZ2l3HCL0YCMKVKMUYqWCy+6N4Fnf+yGh9lP/SqJq3piX6V/9u5WoqIn0u3SoeOvDqje jwrhnWxcsQgb9ZpMivQnNTgxL/cJskeKY1uvLwgwMcPnGI7lioHiscOceGyTP9QPwqzQU/ uzXs9eGKHiovHujBuXJRKhZREat1RaJVaLAzrU11tpbLB8F6Hx9H5UtXYNoOhddj11JCzO TLZSwimkVUNNHpb8HKpn+YcDpQuuArHlv8ltk5ix5iHcttsM5AXmPB6YXaoyhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716384201; 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=H+Xz+tn4IFljaKkignUN0XQ+vE4n0zDdLmMH9vBA1KA=; b=fyuwIcOXygRCFGV4YgwrJLfffNQRoI+zU2rLlGQFzEtUQIz4yZ5B6H421ycBUiwWP9z8Mz e8TfBAYs+MBo6wM6ZW2z6e2X2WTUuD8a/ojWWA95k+ro+HkMeJRlpUBCcgyxpDXMe2p+wt jKmf8s8mHkeuT0XCpkhv1vD7L23+6PEDjepJYjzdfxZI2v2u12JpXFq3Nq92ZGc4+yhbMM O5AwL3TUwhPcb7fw5K+nGJLNP6IQ6eqU2xbw3IilST+3MJVKSlxqgE4fjyncInV4KDLkOz WdbKq6mSQLapVK/AByltEJLRJOWT3xG6xS4aqcTNGZH5Exw4/qXf+JMQppmVyA== 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 4VksST4b3Jz16nw; Wed, 22 May 2024 13:23:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44MDNLHA098845; Wed, 22 May 2024 13:23:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MDNL0G098842; Wed, 22 May 2024 13:23:21 GMT (envelope-from git) Date: Wed, 22 May 2024 13:23:21 GMT Message-Id: <202405221323.44MDNL0G098842@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 0b367134dd92 - releng/14.1 - sound: Make SNDST_UNVLBUF_MAX a power of two List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/releng/14.1 X-Git-Reftype: branch X-Git-Commit: 0b367134dd928af4cf85ed9821a4948257f547d0 Auto-Submitted: auto-generated The branch releng/14.1 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=0b367134dd928af4cf85ed9821a4948257f547d0 commit 0b367134dd928af4cf85ed9821a4948257f547d0 Author: Christos Margiolis AuthorDate: 2024-05-20 17:41:18 +0000 Commit: Christos Margiolis CommitDate: 2024-05-22 13:22:54 +0000 sound: Make SNDST_UNVLBUF_MAX a power of two Fixes: 074d337ad618 ("sound: Check user-supplied size passed to SNDSTIOC_ADD_USER_DEVS*") Reported by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45277 (cherry picked from commit d59058f3b31353442497e728dd5beb80585ad8d2) (cherry picked from commit eba949c37e6473a07a6e3a386f239aa0f49a4c93) Approved by: re (cperciva) --- sys/sys/sndstat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/sndstat.h b/sys/sys/sndstat.h index 8a49042b0453..e0e403b1a72a 100644 --- a/sys/sys/sndstat.h +++ b/sys/sys/sndstat.h @@ -77,7 +77,7 @@ struct sndstioc_nv_arg { /* * Maximum user-specified nvlist buffer size */ -#define SNDST_UNVLBUF_MAX 65535 +#define SNDST_UNVLBUF_MAX 65536 #define SNDSTIOC_REFRESH_DEVS \ _IO('D', 100)