NetBSD/sys/netbt
plunky 1834dc7936 Result of audit to check that mbuf length is checked before m_copydata()
and that any data supposedly copied out is valid before use.

prompted by maxv@, I have checked every usage of m_copydata() and made
the following corrections

hci_event.c:
	hci_event_command_compl()
		check that the packet does contain enough data for there to
		be a status code before noting possible failures.

	hci_event_num_compl_pkts()
		check that the packet does contain data to cover the
		stated number of handle/num pairs

l2cap_signal.c:
	l2cap_recv_signal()
		just ignore packets with not enough data rather than
		trying to reject them (may not have cmd.ident)

	l2cap_recv_command_rej()
		check we have a valid reason and/or data before use
2018-08-21 14:59:13 +00:00
..
Makefile
bluetooth.h
bt_proto.c Revert previous: ran cvs commit when I meant cvs diff. Sorry! 2016-01-21 15:41:29 +00:00
bt_sysctl.c
files.netbt
hci.h Appease GCC in hci_filter_test() 2018-07-25 19:09:38 +00:00
hci_event.c Result of audit to check that mbuf length is checked before m_copydata() 2018-08-21 14:59:13 +00:00
hci_ioctl.c add version and extended feature flags defined in 4.2 specification, 2015-11-28 09:04:34 +00:00
hci_link.c
hci_misc.c
hci_socket.c there is no longer a reason to have a separate hci_send function now 2015-12-22 11:40:07 +00:00
hci_unit.c
l2cap.h add in PSMs defined in later versions of specification 2015-11-28 07:50:37 +00:00
l2cap_lower.c
l2cap_misc.c
l2cap_signal.c Result of audit to check that mbuf length is checked before m_copydata() 2018-08-21 14:59:13 +00:00
l2cap_socket.c make connect syscall use sockaddr_big and modify pr_{send,connect} 2015-05-02 17:18:03 +00:00
l2cap_upper.c acknowleg -> acknowledg, proceedure -> procedure. 2016-12-12 15:58:44 +00:00
rfcomm.h
rfcomm_dlc.c
rfcomm_session.c
rfcomm_socket.c make connect syscall use sockaddr_big and modify pr_{send,connect} 2015-05-02 17:18:03 +00:00
rfcomm_upper.c
sco.h
sco_socket.c make connect syscall use sockaddr_big and modify pr_{send,connect} 2015-05-02 17:18:03 +00:00
sco_upper.c