[Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Mar 2022 00:10:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262671
--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=da03ac41c9bca270b491fcf4bf219c4108688a05
commit da03ac41c9bca270b491fcf4bf219c4108688a05
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-03-21 16:15:22 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-03-24 00:10:00 +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
sys/dev/sound/pcm/mixer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.