Home
last modified time | relevance | path

Searched refs:vhdr (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/radius/
Dradius.c936 struct radius_attr_vendor *vhdr; in radius_msg_get_vendor_attr() local
955 while (left >= sizeof(*vhdr)) { in radius_msg_get_vendor_attr()
956 vhdr = (struct radius_attr_vendor *) pos; in radius_msg_get_vendor_attr()
957 if (vhdr->vendor_length > left || in radius_msg_get_vendor_attr()
958 vhdr->vendor_length < sizeof(*vhdr)) { in radius_msg_get_vendor_attr()
961 if (vhdr->vendor_type != subtype) { in radius_msg_get_vendor_attr()
962 pos += vhdr->vendor_length; in radius_msg_get_vendor_attr()
963 left -= vhdr->vendor_length; in radius_msg_get_vendor_attr()
967 len = vhdr->vendor_length - sizeof(*vhdr); in radius_msg_get_vendor_attr()
968 data = os_memdup(pos + sizeof(*vhdr), len); in radius_msg_get_vendor_attr()
[all …]