From 960c48e8f320e94f1bced21f6ec61ce55d252599 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Fri, 23 Sep 2016 18:20:11 +0000 Subject: Update to 2.5 PR: 212779 Submitted by: leres at ee.lbl.gov (maintainer) --- net/hostapd/files/patch-src_wps_httpread.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 net/hostapd/files/patch-src_wps_httpread.c (limited to 'net/hostapd/files/patch-src_wps_httpread.c') diff --git a/net/hostapd/files/patch-src_wps_httpread.c b/net/hostapd/files/patch-src_wps_httpread.c deleted file mode 100644 index dfdc89f2a8cd..000000000000 --- a/net/hostapd/files/patch-src_wps_httpread.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/wps/httpread.c.orig 2015-03-15 17:30:39 UTC -+++ src/wps/httpread.c -@@ -533,6 +533,13 @@ static void httpread_read_handler(int sd - if (!isxdigit(*cbp)) - goto bad; - h->chunk_size = strtoul(cbp, NULL, 16); -+ if (h->chunk_size < 0 || -+ h->chunk_size > h->max_bytes) { -+ wpa_printf(MSG_DEBUG, -+ "httpread: Invalid chunk size %d", -+ h->chunk_size); -+ goto bad; -+ } - /* throw away chunk header - * so we have only real data - */ -- cgit v1.2.3