fragattacks/src
Brian Norris e6d3aca9cf WPS: Add prefixes to public event_* functions
openssl engines may dynamically load external libraries. Our event_*()
functions happen to be named very generically, such that event_add()
collides with the libevent library (https://libevent.org/). This can
have disastrous effects (esp. when using CONFIG_WPA_TRACE, which enables
partial linking) when our SSL engines call into the WPS event_add()
instead of their intended libevent event_add().

Resolve this by providing a more unique prefix to these functions.

Rename performed via:

  sed -i -E \
    's:\<event_(add|delete_all|send_all_later|send_stop_all)\>:wps_upnp_event_\1:g' \
     $(git grep -l event_)

Tested via (among other things) hwsim '-f ap_wps' module.

Signed-off-by: Brian Norris <briannorris@chromium.org>
2019-12-22 11:24:28 +02:00
..
ap 6 GHz: Select channel width using configured op_class 2019-12-20 13:38:05 +02:00
common DPP: Fix a memory leak on an error path 2019-12-21 17:02:00 +02:00
crypto crypto: Remove unused crypto_bignum_sqrtmod() 2019-10-25 19:29:53 +03:00
drivers ACS: Use frequency params in ACS (offload) completed event interface 2019-12-20 12:31:01 +02:00
eap_common EAP-TEAP: Add parsing and generation routines for Identity-Type TLV 2019-08-20 01:34:12 +03:00
eap_peer Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
eap_server Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
eapol_auth EAP server: Use struct eap_config to avoid duplicated definitions 2019-08-18 17:36:32 +03:00
eapol_supp Pass full struct to peer certificate callbacks 2019-06-14 23:10:50 +03:00
fst FST: Update FST about MAC address change 2019-10-15 15:39:22 +03:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p P2P: Add support for EDMG channels 2019-12-20 00:13:08 +02:00
pae mka: Check OLPN for exhaustion on SAKuse decode 2019-09-19 00:21:47 +03:00
radius RADIUS server: Abort startup on allocation failures 2019-08-20 02:57:58 +03:00
rsn_supp Fix a typo in a comment 2019-11-06 19:44:50 +02:00
tls Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
utils Fix memory leak in case allocation of token fails during JSON parsing 2019-12-21 17:32:19 +02:00
wps WPS: Add prefixes to public event_* functions 2019-12-22 11:24:28 +02:00
lib.rules tests: Fix CFLAGS passing for new fuzzing tools 2019-06-11 06:34:19 +03:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00