mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
wpa_cli: Set buffer length the same as in wpa_supplicant_ctrl_iface_process()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
faf9a8585d
commit
89c7ac570b
@ -3473,7 +3473,7 @@ static char * wpa_cli_get_default_ifname(void)
|
||||
#endif /* CONFIG_CTRL_IFACE_UNIX */
|
||||
|
||||
#ifdef CONFIG_CTRL_IFACE_NAMED_PIPE
|
||||
char buf[2048], *pos;
|
||||
char buf[4096], *pos;
|
||||
size_t len;
|
||||
struct wpa_ctrl *ctrl;
|
||||
int ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user