[source] hostapd: fix an error on parsing radius_das_client
LEDE Commits
lede-commits at lists.infradead.org
Thu Jul 21 07:58:55 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f
commit ca6375ac515291e8ba71a5b4e378d1ebf4cebf2f
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jul 21 16:58:19 2016 +0200
hostapd: fix an error on parsing radius_das_client
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../services/hostapd/patches/110-fix_parse_das_client.patch | 10 ++++++++++
package/network/services/hostapd/patches/300-noscan.patch | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/package/network/services/hostapd/patches/110-fix_parse_das_client.patch b/package/network/services/hostapd/patches/110-fix_parse_das_client.patch
new file mode 100644
index 0000000..67fb899
--- /dev/null
+++ b/package/network/services/hostapd/patches/110-fix_parse_das_client.patch
@@ -0,0 +1,10 @@
+--- a/hostapd/config_file.c
++++ b/hostapd/config_file.c
+@@ -645,6 +645,7 @@ static int hostapd_parse_das_client(stru
+ if (secret == NULL)
+ return -1;
+
++ *secret = 0;
+ secret++;
+
+ if (hostapd_parse_ip_addr(val, &bss->radius_das_client_addr))
diff --git a/package/network/services/hostapd/patches/300-noscan.patch b/package/network/services/hostapd/patches/300-noscan.patch
index bb3d57b..21d6316 100644
--- a/package/network/services/hostapd/patches/300-noscan.patch
+++ b/package/network/services/hostapd/patches/300-noscan.patch
@@ -1,6 +1,6 @@
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
-@@ -2861,6 +2861,10 @@ static int hostapd_config_fill(struct ho
+@@ -2862,6 +2862,10 @@ static int hostapd_config_fill(struct ho
}
#endif /* CONFIG_IEEE80211W */
#ifdef CONFIG_IEEE80211N
More information about the lede-commits
mailing list