hostapd/src
Johannes Berg a1f11e34c4 Use os_memdup()
This leads to cleaner code overall, and also reduces the size
of the hostapd and wpa_supplicant binaries (in hwsim test build
on x86_64) by about 2.5 and 3.5KiB respectively.

The mechanical conversions all over the code were done with
the following spatch:

    @@
    expression SIZE, SRC;
    expression a;
    @@
    -a = os_malloc(SIZE);
    +a = os_memdup(SRC, SIZE);
    <...
    if (!a) {...}
    ...>
    -os_memcpy(a, SRC, SIZE);

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-03-07 13:19:10 +02:00
..
ap Use os_memdup() 2017-03-07 13:19:10 +02:00
common Add QCA vendor command/attr for BRP antenna limit control 2017-03-02 15:05:46 +02:00
crypto Use os_memdup() 2017-03-07 13:19:10 +02:00
drivers Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_common Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_peer Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_server Use os_memdup() 2017-03-07 13:19:10 +02:00
eapol_auth Use os_memdup() 2017-03-07 13:19:10 +02:00
eapol_supp RSN: Fix pre-authentication EAPOL-Start startPeriod configuration 2017-02-20 12:48:04 +02:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet tests: Add TEST_FAIL() checks in l2_packet 2017-03-04 11:43:58 +02:00
p2p Use os_memdup() 2017-03-07 13:19:10 +02:00
pae mka: Fix the order of operations in secure channel deletion 2017-02-20 22:15:04 +02:00
radius Use os_memdup() 2017-03-07 13:19:10 +02:00
rsn_supp Use os_memdup() 2017-03-07 13:19:10 +02:00
tls Use os_memdup() 2017-03-07 13:19:10 +02:00
utils Use os_memdup() 2017-03-07 13:19:10 +02:00
wps Use os_memdup() 2017-03-07 13:19:10 +02:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00