opnsense-src/sys/dev/sound/pcm
Mark Johnston 381ba4357c Fix several dev_clone callbacks to avoid out-of-bounds reads
Use strncmp() instead of bcmp(), so that we don't have to find the
minimum of the string lengths before comparing.

Reviewed by:	kib
Reported by:	KASAN
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29463

(cherry picked from commit 3428b6c050)
2021-03-31 09:15:58 -04:00
..
ac97.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ac97.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ac97_if.m
ac97_patch.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ac97_patch.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
buffer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
buffer.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
channel.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
channel.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
channel_if.m
dsp.c Fix several dev_clone callbacks to avoid out-of-bounds reads 2021-03-31 09:15:58 -04:00
dsp.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
feeder.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
feeder.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
feeder_chain.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
feeder_eq.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
feeder_format.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
feeder_if.m
feeder_matrix.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
feeder_mixer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
feeder_rate.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
feeder_volume.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
g711.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
intpcm.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
matrix.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
matrix_map.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mixer.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
mixer.h Implement new mixer API to return the device pointer based on the mixer pointer. 2020-03-30 15:36:38 +00:00
mixer_if.m
pcm.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
sndstat.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
sndstat.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
sound.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
sound.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
vchan.c sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
vchan.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00