summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-04-25 09:15:51 -0700
committerRoshan Pius <rpius@google.com>2019-04-26 08:38:31 -0700
commit08135433b40efd21abab4e929d365b2cc0de1e86 (patch)
tree7aec0f5d987a1f13bbcf7dca83f6cca459b65f2c /Android.bp
parentd04a29f8721e70ac1ae4e1aa82d18baa53bd8f97 (diff)
NativeUtil: Perform range checks on ssid bytes size
NativeUtil.encodeSsid/decodeSsid should perform range checks because the output/input is coming from binder/hwbinder interfaces which assume the ssid is not malformed (i.e within spec mandated size range). Most of the callers of these methods already handle IllegalArgumentException (including the hidden network list built in WifiCondControl). This should fix the reported issue of a hidden SSID added with size > 32 causing crash in wificond. Bug: 130843221 Test: Device boots up & connects to wifi networks. Test: Regression tests. Test: atest com.android.server.wifi Change-Id: I12d8f3b548a65005932bd8bc1c74de37769b0ee8
Diffstat (limited to 'Android.bp')
0 files changed, 0 insertions, 0 deletions