platform_system_core/adf/libadf/tests
Greg Hackmann 52ae36ed57 libadf: adf_test: fix crash on adf.devices failure
If devs is uninitialized and adf_devices() fails, we'll end up passing
the uninitialized pointer to free().

Test: /data/nativetest64/adf-unit-tests/adf-unit-tests (on Nexus 9 w/o root)
Change-Id: Ifc6038c1da14d32ee564675bac54fc7df2623c1d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2017-02-22 11:07:15 -08:00
..
Android.bp libadf: support ADF_{POST,SIMPLE_POST}_CONFIG_V2 ioctls 2017-02-14 16:06:05 -08:00
adf_test.cpp libadf: adf_test: fix crash on adf.devices failure 2017-02-22 11:07:15 -08:00