From nobody Mon May 20 17:41:25 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 4VjlH96wb5z5L1wH; Mon, 20 May 2024 17:41:25 +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 4VjlH96QRSz47Ns; Mon, 20 May 2024 17:41:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716226885; 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=TgJuvro6GBDnfxu1pbF+M12RZ3qWEq9YAG2cLVjJM1Q=; b=MWuDuvm1vDIHcIJetgR2L0rvE+l0NLcuSGcg52kaiFqdoflSENc87/CsB6WT9RD9qiIkL4 bOX/KDVkeynX4LnE0EWPFZ8m0YZD+YxV6XzQgIHcix7egAfJbITSya04tJc4Wx14E/zpfe yUKve4B4k0y4RtnIktAb95tj337CidPz2u9Q+oVIn8R5qfLu3KtrAGzlVqCzsRezX1c4i7 wsdd8PR7KLgiGg0cy+I8WPy5R8NIbL3U1y7blmU4i3tucSbuQhLpiN6EqzLXrAtOauVHKj VUYqaWP3PzscoFjDQEZc51Q/cRmy+dR2ivfPAzILEELo44xnzQCs82ARSqBbxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716226885; a=rsa-sha256; cv=none; b=dfC3P2NFEnDzNgEALO9H3D1XlGuoAhJXR+L6k7feYGFeYjtrfPalRkOJNeg79MiciXHL7r ixNjOVAbFhc6n09waNU+Gp74v33DzttZ3lzEMYr7hg17ZmhTSlNLRCqj6ySF64mkzXJLj0 AZK6NfVQXVPRtXtq/RqAiqw2ZwWalbNKSMW2gYh/+PQIkS7H66zPC2yDUGICUuf/PKzbay 0ILM8jViy0jIAKcrQG+JSfvwYrMm2/SFMTY5/pEAIuGZBiMSxFOv250OduZh06Z7gI9/zU PZ9vUB6d6yFcYDQ/o+YR9MycG5tsD2hqXM5q3YIEgWzqFRtGJFU04RRjvV/+bw== 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=1716226885; 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=TgJuvro6GBDnfxu1pbF+M12RZ3qWEq9YAG2cLVjJM1Q=; b=V6axSePkbT2V6Z51G48DssMfW0OiMMA6j0qPNwP4phEzN8PqJ0ss61aZleoEy5CBTC/kOf jaepNiS5HDWXi1SPY4uaLJx1fi3h+OjE69vMfgphkVRIrnnM55DDoGYJWSt4U9Qp1GvdpF 1iD3RIkXv9qqOEHiYgOqv/oYifd1uFbpGeMDApW+cm+yj3lG1FdSTbZuxeX/fx1MtcTBZv P3UF8ykiurl758Xfe5ndfKZTS2oZu+qpa6H2a+xT+7uypnjoEnmfCy1zlDmt+pxUwn/VUN W7065GKy0DsBEVyQdoTk8GnCnkx9Trs/cDI0WDn0akBG0BxL4Tk7nmv59SlG8w== 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 4VjlH962RsznCq; Mon, 20 May 2024 17:41:25 +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 44KHfPVm069411; Mon, 20 May 2024 17:41:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44KHfPB8069408; Mon, 20 May 2024 17:41:25 GMT (envelope-from git) Date: Mon, 20 May 2024 17:41:25 GMT Message-Id: <202405201741.44KHfPB8069408@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: d59058f3b313 - main - 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/main X-Git-Reftype: branch X-Git-Commit: d59058f3b31353442497e728dd5beb80585ad8d2 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=d59058f3b31353442497e728dd5beb80585ad8d2 commit d59058f3b31353442497e728dd5beb80585ad8d2 Author: Christos Margiolis AuthorDate: 2024-05-20 17:41:18 +0000 Commit: Christos Margiolis CommitDate: 2024-05-20 17:41:18 +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 --- 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)