summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorYi-wei Zhao <gbjc64@motorola.com>2012-10-23 21:09:56 +0800
committerYi-wei Zhao <gbjc64@motorola.com>2012-10-23 21:31:06 +0800
commite41bc3155588c2fdc23b512a959e20e896da5180 (patch)
tree11080b74ed9c2df8bde43b89746915f563b0bd52 /trusty/coverage/coverage_test.cpp
parent3e5e9e9ee2ee24072b7b87a3e4eda2df0639a469 (diff)
Fix dirfd crash issue in property service
In "init: harden property service" patch, dirfd() is invoked without checking whether opendir() return successfully. It may fail if load_persistent_properties() is invoked before userdata partition is mounted; then dirfd(NULL) will make init crash. This may happen if "is_charger" is true. Change-Id: I216fb743a3c9fa050f92fcb31b62e766346d84bb Signed-off-by: Yi-wei Zhao <gbjc64@motorola.com>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions