opnsense-src/sys/dev/sound/pcm
Christos Margiolis 8d3f96bd85 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

(cherry picked from commit 64f4e2db6d19d8ab520903a197fcaa8cc7ab9f9a)
(cherry picked from commit 45feaa73c6)

Approved by:	re (cperciva)
2024-05-22 15:22:40 +02:00
..
ac97.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
ac97.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ac97_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
ac97_patch.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
ac97_patch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
buffer.c sound: Drain buffer selinfo in sndbuf_free() 2024-04-12 03:09:51 +02:00
buffer.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
channel.c sound: Assert that we do not enter chn_sleep() with CHN_F_SLEEPING 2024-04-29 12:43:31 +02:00
channel.h sound: Fix panic caused by sleeping-channel destruction during asynchronous detach 2024-04-29 12:43:30 +02:00
channel_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
dsp.c sound: Wrap dsp_clone() and mixer_clone() with bus_topo_lock() 2024-04-29 12:43:30 +02:00
dsp.h sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9) 2024-04-18 14:39:26 +02:00
feeder.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
feeder_chain.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_eq.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_format.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
feeder_matrix.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_mixer.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_rate.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_volume.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
g711.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
intpcm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
matrix.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
matrix_map.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mixer.c sound: Remove nmix variable from mixer_oss_mixerinfo() 2024-05-22 15:20:42 +02:00
mixer.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mixer_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pcm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sndstat.c sound: Correctly check nvlist_unpack() error 2024-05-22 15:22:40 +02:00
sound.c sound: Fix oss_sysinfo->numcards 2024-05-22 15:21:36 +02:00
sound.h sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9) 2024-04-18 14:39:26 +02:00
vchan.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
vchan.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00