CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/09/24 07:57:25

Modified files:
        sys/dev/usb    : uaudio.c 

Log message:
uaudio: Make sure the reported format and channels are usable

A bogus device may trigger a division by zero if the number of
channels or sample size are 0. Similarly, memory corruption may occur
if the reported sample size is larger than four bytes.

Found by Acts1631 <[email protected]>, who proposed a diff that
inspired this fix. Thanks!

Reply via email to