hostap/src/utils
Kyeyoon Park 913c19c6e5 Fix wpa_config_parse_string() to null terminate printf decoded values
printf_decode() fills in a binary buffer and returns the length of
the written data. This did not use null termination since initial
use cases used the output as a binary value. However, Hotspot 2.0
cred block values are also using this for parsing strings. Those
cases could end up without proper null termination depending on what
os_malloc() ends up getting as the memory buffer. Fix these and make
printf_decode() more convenient by forcing the output buffer to be
null terminated.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2013-09-25 14:43:24 +03:00
..
.gitignore Add build rules for building a library from src/utils files 2009-12-05 21:39:41 +02:00
base64.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
base64.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
bitfield.c Add bitfield routines 2013-04-27 22:16:40 +03:00
bitfield.h Add bitfield routines 2013-04-27 22:16:40 +03:00
build_config.h Remove forgotten Xcode defines 2013-07-09 15:20:17 +03:00
common.c Fix wpa_config_parse_string() to null terminate printf decoded values 2013-09-25 14:43:24 +03:00
common.h Add missing host_to_le32() for big endian hosts 2013-07-20 17:17:32 +03:00
edit.c edit: Fix history processing on running old command 2013-05-05 13:09:55 +03:00
edit.h edit: Add support for setting prompt string 2012-08-05 20:46:34 +03:00
edit_readline.c edit: Fix libreadline history clearing with WPA_TRACE 2013-05-14 16:46:38 +03:00
edit_simple.c edit: Add support for setting prompt string 2012-08-05 20:46:34 +03:00
eloop.c eloop: Allow to run event loop multiple times in a row 2013-05-09 16:42:14 +03:00
eloop.h eloop: Add a timer cancel that returns the remaining time 2013-02-03 17:17:08 +02:00
eloop_none.c eloop: Add a timer cancel that returns the remaining time 2013-02-03 17:17:08 +02:00
eloop_win.c eloop: Add a timer cancel that returns the remaining time 2013-02-03 17:17:08 +02:00
ext_password.c EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
ext_password.h EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
ext_password_i.h EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
ext_password_test.c EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
includes.h Remove experimental Symbian build 2012-04-07 13:00:30 +03:00
ip_addr.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ip_addr.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
list.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Add bitfield routines 2013-04-27 22:16:40 +03:00
os.h Add os_realloc_array() wrapper 2012-08-13 21:20:09 +03:00
os_internal.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
os_none.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
os_unix.c wpa_supplicant: Add option -I for additional config file 2013-04-23 17:38:57 +03:00
os_win32.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pcsc_funcs.c Interworking: Use EAP-AKA if USIM is used 2012-03-04 16:11:02 +02:00
pcsc_funcs.h Fix eapol_test build without CONFIG_PCSC=y 2012-03-29 20:44:36 +03:00
radiotap.c Share the same radiotap helper implementation 2009-01-09 15:22:19 +02:00
radiotap.h nl80211: Implement noack policy for send_mlme 2011-11-19 19:22:13 +02:00
radiotap_iter.h Add a copyright and license statement for a radiotap header file 2011-06-23 16:39:26 +03:00
state_machine.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
trace.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
trace.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
uuid.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
uuid.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wpa_debug.c P2P: No duplicate AP-STA-CONNECTED/DISCONNECTED as global event 2013-05-18 19:18:31 +03:00
wpa_debug.h P2P: No duplicate AP-STA-CONNECTED/DISCONNECTED as global event 2013-05-18 19:18:31 +03:00
wpabuf.c wpabuf: Get rid of separate ext_data pointer 2012-08-19 18:25:25 +03:00
wpabuf.h wpabuf: Get rid of separate ext_data pointer 2012-08-19 18:25:25 +03:00