freebsd-dev/sys/dev/sound
Mark Johnston 3428b6c050 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
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29463
2021-03-28 11:08:36 -04:00
..
isa sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
macio sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
midi sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
pci Unify Intel CODEC naming. 2021-01-15 09:56:15 -05:00
pcm Fix several dev_clone callbacks to avoid out-of-bounds reads 2021-03-28 11:08:36 -04:00
usb Set default alternate setting when USB audio devices are not in use, 2021-03-25 16:49:52 +01:00
chip.h
clone.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
clone.h sound: clean up empty lines in .c and .h files 2020-09-01 21:27:34 +00:00
driver.c
unit.c
unit.h
version.h