diff options
Diffstat (limited to 'package/network/services/hostapd/patches/001-CVE-2012-4445.patch')
-rw-r--r-- | package/network/services/hostapd/patches/001-CVE-2012-4445.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/network/services/hostapd/patches/001-CVE-2012-4445.patch b/package/network/services/hostapd/patches/001-CVE-2012-4445.patch deleted file mode 100644 index 1b8bdd00c5..0000000000 --- a/package/network/services/hostapd/patches/001-CVE-2012-4445.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/eap_server/eap_server_tls_common.c -+++ b/src/eap_server/eap_server_tls_common.c -@@ -228,6 +228,14 @@ static int eap_server_tls_process_fragme - return -1; - } - -+ if (len > message_length) { -+ wpa_printf(MSG_INFO, "SSL: Too much data (%d bytes) in " -+ "first fragment of frame (TLS Message " -+ "Length %d bytes)", -+ (int) len, (int) message_length); -+ return -1; -+ } -+ - data->tls_in = wpabuf_alloc(message_length); - if (data->tls_in == NULL) { - wpa_printf(MSG_DEBUG, "SSL: No memory for message"); |