commit | 00087b70401bd09dfeaab9171d006e833e3cd844 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 14 13:29:10 2016 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Mon Mar 14 16:56:14 2016 -0700 |
tree | dae14a7285bed9d7a368fbb13d4abf565ae1f128 | |
parent | e0df6e9daa9e057143ce28a1487877b7a69cc7f7 [diff] |
installd: Avoid potential use of null 'src'. In create_cache_path, we have code checking whether 'src' is null, implying it's possibile it could be null here. To be safe, we move our strlen call until after this check. Change-Id: I6a67cdad8ebf8bdce1562ce5f0cbf98b084807ef