aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/android.config
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-10 15:55:24 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-10 15:55:24 (GMT)
commiteae3a584f5fde638e593e673cc4fda84d32689d0 (patch)
treeed4bbe5c35e519db18401eb25d75e15b95ec6af8 /wpa_supplicant/android.config
parent725fc39e07b3a9c92fd65f6bb66402824a18dda8 (diff)
downloadhostap-eae3a584f5fde638e593e673cc4fda84d32689d0.zip
hostap-eae3a584f5fde638e593e673cc4fda84d32689d0.tar.gz
hostap-eae3a584f5fde638e593e673cc4fda84d32689d0.tar.bz2
wpa_supplicant: Parse int values in different bases and reject invalid
Instead of using atoi(), use strtol() which allows checking if the configuration values are valid integers and can understand more than just decimal (also hexadecimal and octal). This not only allows specifying some fields in hex (which can be useful) but also rejecting invalid configurations, e.g., disassoc_low_ack=27 * 2 which was previously read as just 27. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/android.config')
0 files changed, 0 insertions, 0 deletions