hostap/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
http_client.c WPS: Use a shared error path in http_client_addr() 2015-08-29 13:42:32 +03:00
http_client.h
http_server.c WPS: Merge common error paths in HTTP server 2015-08-28 20:33:22 +03:00
http_server.h
httpread.c WPS: Remove duplicated isgraph() loop in HTTP header parsing 2015-08-28 23:59:28 +03:00
httpread.h
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
upnp_xml.h
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_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_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
wps_dev_attr.h
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_ssdp.c WPS ER: Fix SSDP CACHE-CONTROL line parser 2015-08-15 22:24:15 +03:00
wps_i.h
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_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_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