From: Jouni Malinen Date: Fri, 26 Nov 2010 13:49:26 +0000 (+0200) Subject: P2P: Use larger pending_interface_name buffer X-Git-Tag: hostap-1-bp~722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f85ef5cf02a7cba19465028564a36ad1ebc8b26;p=thirdparty%2Fhostap.git P2P: Use larger pending_interface_name buffer In theory, the interface name could be longer than IFNAMSIZ in some systems, so use the same size buffer for this field as is used with the main interface name. --- diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h index 582df697e..a61d0e2eb 100644 --- a/wpa_supplicant/wpa_supplicant_i.h +++ b/wpa_supplicant/wpa_supplicant_i.h @@ -461,7 +461,7 @@ struct wpa_supplicant { struct p2p_go_neg_results *go_params; int create_p2p_iface; u8 pending_interface_addr[ETH_ALEN]; - char pending_interface_name[IFNAMSIZ]; + char pending_interface_name[100]; int pending_interface_type; int p2p_group_idx; unsigned int off_channel_freq;