Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2022 00:32:11 +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-4OlOxrq4P8@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 #17 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Daeb4214375b7197ccc7c6ad9b2bc31855=
45eaf8e

commit aeb4214375b7197ccc7c6ad9b2bc3185545eaf8e
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-03-21 16:15:22 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-03-31 00:31:44 +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-4OlOxrq4P8>