hostapd/src/wps
Jouni Malinen 625745c297 WPS: Avoid undefined behavior in pointer arithmetic
Reorder terms in a way that no invalid pointers are generated with
pos+len operations. end-pos is always defined (with a valid pos pointer)
while pos+len could end up pointing beyond the end pointer which would
be undefined behavior.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-18 11:37:47 +03:00
..
http.h WPS: Move POST URL validation into web_connection_parse_post() 2009-12-12 16:48:50 +02:00
http_client.c WPS: Use a shared error path in http_client_addr() 2015-08-29 13:42:32 +03:00
http_client.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
http_server.c WPS: Merge common error paths in HTTP server 2015-08-28 20:33:22 +03:00
http_server.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
httpread.c WPS: Remove duplicated isgraph() loop in HTTP header parsing 2015-08-28 23:59:28 +03:00
httpread.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
ndef.c WPS: Avoid bogus static analyzer warning in ndef_parse_record() 2015-07-17 20:43:17 +03:00
upnp_xml.c WPS ER: Fix UPnP XML Device Description parser to find correct device 2011-08-31 13:56:03 +03:00
upnp_xml.h WPS ER: Fix UPnP XML Device Description parser to find correct device 2011-08-31 13:56:03 +03:00
wps.c WPS: Reduce wps_ap_priority_compar() stack use 2015-09-07 22:52:45 +03:00
wps.h WPS: Add support for 60 GHz band 2015-04-28 00:22:16 +03:00
wps_attr_build.c WPS: Enable WSC 2.0 support unconditionally 2014-03-25 18:33:21 +02:00
wps_attr_parse.c WPS: Avoid undefined behavior in pointer arithmetic 2015-10-18 11:37:47 +03:00
wps_attr_parse.h WPS: Reduce struct wps_parse_attr size 2015-09-07 23:02:19 +03:00
wps_attr_process.c WPS: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
wps_common.c WPS: Allow config_methods to be cleared with an empty string 2015-09-05 21:49:38 +03:00
wps_defs.h WPS: Add support for 60 GHz band 2015-04-28 00:22:16 +03:00
wps_dev_attr.c P2P NFC: Add WPS attribute building for P2P NFC 2014-01-27 21:10:55 +02:00
wps_dev_attr.h P2P NFC: Add WPS attribute building for P2P NFC 2014-01-27 21:10:55 +02:00
wps_enrollee.c WPS: Reduce struct wps_parse_attr size 2015-09-07 23:02:19 +03:00
wps_er.c WPS ER: Clean up WPS session on PutMessage error cases 2015-09-07 17:45:53 +03:00
wps_er.h WPS ER: Allow UPnP interface to be forced 2013-04-28 21:56:24 +03:00
wps_er_ssdp.c WPS ER: Fix SSDP CACHE-CONTROL line parser 2015-08-15 22:24:15 +03:00
wps_i.h WPS: Extend per-station PSK to support ER case as well 2014-03-13 18:22:25 +02:00
wps_module_tests.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
wps_registrar.c WPS: Reduce struct wps_parse_attr size 2015-09-07 23:02:19 +03:00
wps_upnp.c WPS: Print subscription UUID in debug log in more places 2015-08-31 17:25:20 +03:00
wps_upnp.h WPS: Change concurrent radio AP to use only one WPS UPnP instance 2010-11-11 14:50:13 +02:00
wps_upnp_ap.c WPS: Merge SetSelectedRegistrar parsing error returns 2015-08-31 17:25:20 +03:00
wps_upnp_event.c WPS: Merge event_send_start() error paths 2015-08-31 17:25:20 +03:00
wps_upnp_i.h WPS: Remove unused send_wpabuf() 2013-12-29 10:00:33 +02:00
wps_upnp_ssdp.c WPS: Merge identical error paths in ssdp_listener_open() 2015-09-05 19:28:45 +03:00
wps_upnp_web.c WPS: Mark web_connection_parse_get() argument filename const 2015-10-03 16:26:10 +03:00
wps_validate.c WPS: Add support for 60 GHz band 2015-04-28 00:22:16 +03:00