diff options
| author | Greg Hackmann <ghackmann@google.com> | 2017-02-16 16:41:27 -0800 |
|---|---|---|
| committer | Greg Hackmann <ghackmann@google.com> | 2017-02-22 11:07:15 -0800 |
| commit | c336301f0e4e6a6bf1f83bfffdc16a19e39b89fd (patch) | |
| tree | 82172dfe86bbd290c1cc068b6d5850b329ec9955 /libutils/Unicode.cpp | |
| parent | 03d566844ac3fb81c4c3ef97ae591b97efe0e696 (diff) | |
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>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
