OSDN Git Service

Fixed NullPointerException in IpSecService-Netd binder layer
authorManoj Boopathi Raj <manojboopathi@google.com>
Thu, 26 Oct 2017 18:49:02 +0000 (11:49 -0700)
committermanojboopathi <manojboopathi@google.com>
Thu, 26 Oct 2017 20:10:22 +0000 (13:10 -0700)
commitfffa8113e0a7b646d2aff44de5a2cf84290e8951
tree7980a9e3d01a3c7aeeb67e5d9cbe3b0b3a014cef
parent3ab81b9694f153c933d234e8d72db058c2d2fefc
Fixed NullPointerException in IpSecService-Netd binder layer

Replaced null with empty byte array in createTransportModeTransform
for null auth.getKey, crypt.getKey() and authCrypt.getKey()

Test: Ran CTS test
Bug: 68052730
Change-Id: I5110b1297b4bfbb5766e8ecfd3d64f8110b52945
services/core/java/com/android/server/IpSecService.java
tests/net/java/com/android/server/IpSecServiceParameterizedTest.java