Date: Mon, 21 Mar 2022 16:13:21 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl Message-ID: <bug-262671-227-IysUGEo5B9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262671-227@https.bugs.freebsd.org/bugzilla/> References: <bug-262671-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671 --- Comment #9 from Ed Maste <emaste@freebsd.org> --- (In reply to Aleksander Slomka from comment #8) Indeed; trying successive mi.dev values here is fine: #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <sys/soundcard.h> #include <unistd.h> int main() { int fd; fd =3D open("/dev/mixer", O_RDWR); oss_mixerinfo mi; for (mi.dev =3D 0; mi.dev < 100; mi.dev++) ioctl(fd, SNDCTL_MIXERINFO, &mi); return (0); } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262671-227-IysUGEo5B9>