Files
frameworks_base/core/tests
Torne (Richard Coles) 771b187d9b 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
2018-09-28 11:48:34 -04:00
..
2018-04-12 10:43:22 -06:00
2018-04-20 08:41:00 -07:00