[Bug 266144] bug in sndstat_unpack_user_nvlbuf()

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 May 2024 14:19:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266144

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a

commit 64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-05-20 14:18:33 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-05-20 14:18:33 +0000

    sound: Correctly check nvlist_unpack() error

    The current check is never false and if nvlist_unpack() fails, we might
    panic later down the road.

    PR:             266144
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 day
    Reviewed by:    dev_submerge.ch, emaste
    Differential Revision:  https://reviews.freebsd.org/D45237

 sys/dev/sound/pcm/sndstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.