OSDN Git Service

surfaceflinger:Fix potential crash issue when do AIDL FUZZ
authorJinguang Dong <dongjinguang@huawei.com>
Tue, 29 Nov 2016 05:55:57 +0000 (13:55 +0800)
committerJinguang Dong <dongjinguang@huawei.com>
Tue, 29 Nov 2016 07:49:13 +0000 (15:49 +0800)
commit9f8b9ae2a95eec78e676a11a719deafea4952190
tree9334f7578740b19587590fcffe7531efdd1ac8c4
parentb29c82b67e05c9093d2accfa23e6007dc601f96b
surfaceflinger:Fix potential crash issue when do AIDL FUZZ
test

There will be trigger exception when we provide invalid
inputs parameter for surfaceflinger  JNI interface

Test: 1.Run adb shell and open AIDLer tools;
      2.change to Dir /sdcard/elong.AIDLer
      3.run commond service list > service_list.txt
      4.Rerun AIDL FUZZ test

Change-Id: I0a63adc1e8ae5d9c9e43cb6df6aa13503c40a0c5
services/surfaceflinger/SurfaceFlinger.cpp