sound: Make SNDST_UNVLBUF_MAX a power of two

Fixes:		074d337ad6 ("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
This commit is contained in:
Christos Margiolis 2024-05-20 19:41:18 +02:00
parent da590a3e18
commit d59058f3b3

View file

@ -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)