110-fix_parse_das_client.patch 248 B

12345678910
  1. --- a/hostapd/config_file.c
  2. +++ b/hostapd/config_file.c
  3. @@ -645,6 +645,7 @@ static int hostapd_parse_das_client(stru
  4. if (secret == NULL)
  5. return -1;
  6. + *secret = 0;
  7. secret++;
  8. if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr))