@remote_compatible
def test_ap_element_parse_oom(dev, apdev):
    'Information element parsing OOM'
    bssid = apdev[0]['bssid']
    ssid = 'test-wpa2-psk'
    params = {'ssid': ssid, 'vendor_elements': 'dd0d506f9a0a00000600411c440028'}
    hapd = hostapd.add_ap(apdev[0], params)
    dev[0].scan_for_bss(apdev[0]['bssid'], freq='2412')
    with alloc_fail(dev[0], 1, 'wpabuf_alloc;ieee802_11_vendor_ie_concat'):
        bss = dev[0].get_bss(bssid)
        logger.info(str(bss))
Information element parsing OOM
@remote_compatible
def test_ap_element_parse_oom(dev, apdev):
    
    bssid = apdev[0]['bssid']
    ssid = 'test-wpa2-psk'
    params = {'ssid': ssid, 'vendor_elements': 'dd0d506f9a0a00000600411c440028'}
    hapd = hostapd.add_ap(apdev[0], params)
    dev[0].scan_for_bss(apdev[0]['bssid'], freq='2412')
    with alloc_fail(dev[0], 1, 'wpabuf_alloc;ieee802_11_vendor_ie_concat'):
        bss = dev[0].get_bss(bssid)
        logger.info(str(bss))