summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-02-16 16:41:27 -0800
committerGreg Hackmann <ghackmann@google.com>2017-02-22 11:07:15 -0800
commit52ae36ed57902508b1440c7ff3570c34e2cf154c (patch)
tree82172dfe86bbd290c1cc068b6d5850b329ec9955 /libutils/Unicode.cpp
parent1d73abb4436f5c578f05dd016a820e4a37275f75 (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