Page MenuHomeFreeBSD

D37228.id.diff
No OneTemporary

D37228.id.diff

diff --git a/sys/netgraph/bluetooth/hci/ng_hci_evnt.c b/sys/netgraph/bluetooth/hci/ng_hci_evnt.c
--- a/sys/netgraph/bluetooth/hci/ng_hci_evnt.c
+++ b/sys/netgraph/bluetooth/hci/ng_hci_evnt.c
@@ -399,6 +399,10 @@
/* Get remote unit address */
NG_HCI_M_PULLUP(event, sizeof(u_int8_t));
+ if (event == NULL) {
+ error = ENOBUFS;
+ goto out;
+ }
addr_type = *mtod(event, u_int8_t *);
m_adj(event, sizeof(u_int8_t));

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 7:30 PM (12 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14663496
Default Alt Text
D37228.id.diff (435 B)

Event Timeline