HomeFreeBSD

sound: Make SNDST_UNVLBUF_MAX a power of two

Description

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)

Details

Provenance
christosAuthored on Mon, May 20, 5:41 PM
Reviewer
markj
Differential Revision
D45277: sound: Make SNDST_UNVLBUF_MAX a power of two
Parents
rG45feaa73c680: sound: Correctly check nvlist_unpack() error
Branches
Unknown
Tags
Unknown