summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/anqp/VenueNameElement.java
diff options
context:
space:
mode:
authorSamuel Tan <samueltan@google.com>2016-07-19 17:35:57 -0700
committerJessica Wagantall <jwagantall@cyngn.com>2016-10-04 16:12:24 -0700
commit5711f638b91e880c3f0bd8519c19b8689906ed43 (patch)
tree2b9ea447825456683db71e6113d4b8b910a93b18 /service/java/com/android/server/wifi/anqp/VenueNameElement.java
parent6d3739525647a376980c852aae7344d4512a4175 (diff)
downloadandroid_frameworks_opt_net_wifi-5711f638b91e880c3f0bd8519c19b8689906ed43.tar.gz
android_frameworks_opt_net_wifi-5711f638b91e880c3f0bd8519c19b8689906ed43.tar.bz2
android_frameworks_opt_net_wifi-5711f638b91e880c3f0bd8519c19b8689906ed43.zip
ANQPFactory: catch all potential parsing errors
The ANQP Element parsing code that parses untrusted data broadcasted by APs is currently untested, and might contain errors that will trigger exceptions that can crash the system service (e.g. null pointer exceptions). To contain this risk, catch all possible exceptions from the invoking ANQP element parsing code from ANQPFactory, and throw them again as ProtocolExceptions, which users of ANQPFactory already catch. CYNGNOS-3286 BUG: 30230534 Change-Id: Icaba02c0e6739d94482cf4a5e704b59f8d4105b4 (cherry picked from commit 6154eb070b9f224a8daebf0a852d61f07d2c5cf3) (cherry picked from commit bafabeb09d7c75ef205a5b2fcbd581be6b6e2771) (cherry picked from commit 0378f69284723d075acb4f0ef1e4dfb5c21fc73a)
Diffstat (limited to 'service/java/com/android/server/wifi/anqp/VenueNameElement.java')
0 files changed, 0 insertions, 0 deletions