From nobody Tue May 21 17:53:58 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 4VkMWC3SXqz5Lv10; Tue, 21 May 2024 17:53:59 +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 4VkMWC11lnz4rPy; Tue, 21 May 2024 17:53:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716314039; 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=iNvWCtvvKybhuw4z83o5PNcqc4XrGwxaChgClzYhFc8=; b=Y1ie9EBVw5T7xPFpzgGTvmjdx+J1qS8KTJw4WQCu4pRE92nAhEkAEY3aqfJB1UUaga341X yMKpHeM8tZlOIlV7+5iB94ujuV4hN/+fWVaZyYwaFSlT3yHy/5liy7oTvL7h/AoJKtyZ8z Hlq/0XXqZZIWuFF3N2MC7yY99IZBMtFdrPtKqBqYd0n2IZdfP1+uOE+Zi7ofwlxphluQR3 FN82DQRT5JOl8Ku/mFt/dcN65xnstuXzNpnvYayBqkHPvdfr9ddIgZkcTbkCQ4uUhw1uGX rN/qRx1XgqPpYqpBkiRh8pJbE/PNsR1byldhwX04qcn4QmxNvJ1PedIlo5Oqrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716314039; a=rsa-sha256; cv=none; b=Qpd2NaFPwxd6J06sxW+c0Vw9VGvBWnQnQLoPik/pOXGMqVoJuds6CCUQWmDySxdw5VQDmA Kc82yrCPzYUB3PT2wjqrWXHX7KkEkj8c68whxerkxgNBogc9vyddMcPjJXlGQ5kdJY8TRe f5vPCG/Xp4rNOrWp7dzodxoZ3jKbRBNXedAAPEY85XgrWG6nxe/uU3V94QvIdolF63YqEx QR9sXWdQuHTmGtfMwWxRPtHeKuucCDlvQuXzMSPPtfNEPtJY3eNKgPe9tgptYV2BTjTosn pxPwK62s6ASXxtQCKpYt5Ig1SSMibVh3FroEzSCGHfMwLl44fZOQaSsjYrX7cw== 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=1716314039; 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=iNvWCtvvKybhuw4z83o5PNcqc4XrGwxaChgClzYhFc8=; b=LifLNnsB5Sr1xSPGXEJsS/7ngOKFRNIw7Wi36k0nEtvt1K9UPAoRixpbyRUYwGsexlA7eK Ld3L9wW4+plVaaPURxSRfTrStlJtTT8/cc6XH8+w7wd2jTsd81m/U2lgdd4ZOg0kD4uOMQ FT/w7K3KFboVyJJ/FCfEWdLWSx4cOAhOBys8jPg0+OVqJsbuTaN++lrP89MVOsOS9Sw3tT WKg8H6EW5XWPSnXvDDqThOnFX1kiKTq6YQWydIoZCauhsMXW08rvN5Q/8RUmX2auanWij2 cgC1TrP9iPZ+H0uA7zNxieGsf6/YiLE2KBg5lCWGHnwdBWA9OUCMDU/ZliCasA== 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 4VkMWC0VnbzXqD; Tue, 21 May 2024 17:53:59 +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 44LHrwk6021800; Tue, 21 May 2024 17:53:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44LHrw8t021797; Tue, 21 May 2024 17:53:58 GMT (envelope-from git) Date: Tue, 21 May 2024 17:53:58 GMT Message-Id: <202405211753.44LHrw8t021797@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: eba949c37e64 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: eba949c37e6473a07a6e3a386f239aa0f49a4c93 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=eba949c37e6473a07a6e3a386f239aa0f49a4c93 commit eba949c37e6473a07a6e3a386f239aa0f49a4c93 Author: Christos Margiolis AuthorDate: 2024-05-20 17:41:18 +0000 Commit: Christos Margiolis CommitDate: 2024-05-21 17:46:01 +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) --- 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)