diff options
author | Torne (Richard Coles) <torne@google.com> | 2017-03-16 15:52:46 +0000 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2018-09-28 11:48:34 -0400 |
commit | 771b187d9b31c6a7a3d4efa1187d5e028310ca0a (patch) | |
tree | 862068d8c6c93be9a067a7c5698ee43a2d28049e /rs/java/android/renderscript/ProgramRaster.java | |
parent | 3868fc30eee378979813fdad994e33be9a64e6fa (diff) |
Check for null socket name in socket_connect_local.
socket_bind_local checks if the name is null before using it, but
socket_connect_local doesn't, resulting in a segfault if you pass null
as the socket name. Check for this and convert it to
NullPointerException to make the crash more reasonable.
Test: am instrument -w -e class android.net.LocalSocketTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I67dedbe9ca1be6425e047496d0ead92eb7f64691
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions