Date: Wed, 30 Mar 2022 20:45:22 +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-GY64CzrlMf@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 #16 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D74f11a40f8e4e1b3ae254edf499d46715= 3242ce9 commit 74f11a40f8e4e1b3ae254edf499d467153242ce9 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-03-21 16:15:22 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-03-30 20:43:57 +0000 sound: test PCM_REGISTERED before PCM_DETACHING PCM_REGISTERED(d) tests that d is not NULL, so perform that check first as we may have cases where devclass_get_softc has a null entry. PR: 262671 Reviewed by: hselasky MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34648 (cherry picked from commit da03ac41c9bca270b491fcf4bf219c4108688a05) sys/dev/sound/pcm/mixer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --=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-GY64CzrlMf>