Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102682143
D37228.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
435 B
Referenced Files
None
Subscribers
None
D37228.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D37228: ng_hci: handle NG_HCI_M_PULLUP failure in le_advertizing_report
Attached
Detach File
Event Timeline
Log In to Comment