Skip to contentSkip to conversation

package/hostapd: bump to version 2.6

PATCH New Jörg Krause 2 participants 2 messages Oct 11, 2016 – Oct 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/hostapd: bump to version 2.6

Remove all patches as they are applied to or were fetched from upstream.

---
 ...-peer-Fix-last-fragment-length-validation.patch | 54 --------------
 ...erver-Fix-last-fragment-length-validation.patch | 51 -------------
 .../hostapd/0003-vlan-fix-musl-build-error.patch   | 60 ---------------
 ...sl-libc-conflict-with-Linux-kernel-header.patch | 60 ---------------
 ...ject-a-Credential-with-invalid-passphrase.patch | 85 ----------------------
 package/hostapd/hostapd.hash                       |  2 +-
 package/hostapd/hostapd.mk                         |  2 +-
 7 files changed, 2 insertions(+), 312 deletions(-)
 delete mode 100644 package/hostapd/0001-EAP-pwd-peer-Fix-last-fragment-length-validation.patch
 delete mode 100644 package/hostapd/0002-EAP-pwd-server-Fix-last-fragment-length-validation.patch
 delete mode 100644 package/hostapd/0003-vlan-fix-musl-build-error.patch
 delete mode 100644 package/hostapd/0004-vlan-fix-musl-libc-conflict-with-Linux-kernel-header.patch
 delete mode 100644 package/hostapd/0005-WPS-Reject-a-Credential-with-invalid-passphrase.patch
package/hostapd/0001-EAP-pwd-peer-Fix-last-fragment-length-validation.patch deleted +0 -54
deleted file mode 100644
index 82c2639..0000000
@@ -1,54 +0,0 @@
-From 8057821706784608b828e769ccefbced95591e50 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <[email protected]>
-Date: Sun, 1 Nov 2015 18:18:17 +0200
-Subject: [PATCH] EAP-pwd peer: Fix last fragment length validation
-
-All but the last fragment had their length checked against the remaining
-room in the reassembly buffer. This allowed a suitably constructed last
-fragment frame to try to add extra data that would go beyond the buffer.
-The length validation code in wpabuf_put_data() prevents an actual
-buffer write overflow from occurring, but this results in process
-termination. (CVE-2015-5315)
-
-Signed-off-by: Jouni Malinen <[email protected]>
----
- src/eap_peer/eap_pwd.c | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
-index 1f78544..75ceef1 100644
---- a/src/eap_peer/eap_pwd.c
-+++ b/src/eap_peer/eap_pwd.c
-@@ -903,7 +903,7 @@ eap_pwd_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret,
- 	/*
- 	 * buffer and ACK the fragment
- 	 */
--	if (EAP_PWD_GET_MORE_BIT(lm_exch)) {
-+	if (EAP_PWD_GET_MORE_BIT(lm_exch) || data->in_frag_pos) {
- 		data->in_frag_pos += len;
- 		if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
- 			wpa_printf(MSG_INFO, "EAP-pwd: Buffer overflow attack "
-@@ -916,7 +916,8 @@ eap_pwd_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret,
- 			return NULL;
- 		}
- 		wpabuf_put_data(data->inbuf, pos, len);
--
-+	}
-+	if (EAP_PWD_GET_MORE_BIT(lm_exch)) {
- 		resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PWD,
- 				     EAP_PWD_HDR_SIZE,
- 				     EAP_CODE_RESPONSE, eap_get_id(reqData));
-@@ -930,10 +931,8 @@ eap_pwd_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret,
- 	 * we're buffering and this is the last fragment
- 	 */
- 	if (data->in_frag_pos) {
--		wpabuf_put_data(data->inbuf, pos, len);
- 		wpa_printf(MSG_DEBUG, "EAP-pwd: Last fragment, %d bytes",
- 			   (int) len);
--		data->in_frag_pos += len;
- 		pos = wpabuf_head_u8(data->inbuf);
- 		len = data->in_frag_pos;
- 	}
--- 
-1.9.1
-
package/hostapd/0002-EAP-pwd-server-Fix-last-fragment-length-validation.patch deleted +0 -51

51 lines not on this page · raw message

package/hostapd/0003-vlan-fix-musl-build-error.patch deleted +0 -60

60 lines not on this page · raw message

package/hostapd/0004-vlan-fix-musl-libc-conflict-with-Linux-kernel-header.patch deleted +0 -60

60 lines not on this page · raw message

package/hostapd/0005-WPS-Reject-a-Credential-with-invalid-passphrase.patch deleted +0 -85

85 lines not on this page · raw message

package/hostapd/hostapd.hash +1 -1
index 869849b..fb89147 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256	8e272d954dc0d7026c264b79b15389ec2b2c555b32970de39f506b9f463ec74a  hostapd-2.5.tar.gz
+sha256  01526b90c1d23bec4b0f052039cc4456c2fd19347b4d830d1d58a0a6aea7117d  hostapd-2.6.tar.gz
package/hostapd/hostapd.mk +1 -1
index 5aa2b9a..a499011 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-HOSTAPD_VERSION = 2.5
+HOSTAPD_VERSION = 2.6
 HOSTAPD_SITE = http://hostap.epitest.fi/releases
 HOSTAPD_SUBDIR = hostapd
 HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config
Signature · 1 line
2.10.0
#1 lore raw

PATCH 1/1 package/hostapd: bump to version 2.6

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?rg" == J?rg Krause <[email protected]> writes:

Remove all patches as they are applied to or were fetched from upstream.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard