commit | bb16c4d0eab105942aa22a383aa8fcb594cd7539 | [log] [tgz] |
---|---|---|
author | Tzung-Bi Shih <tzungbi@chromium.org> | Tue Mar 05 16:09:36 2019 +0800 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Mar 28 14:13:50 2019 -0700 |
tree | 00f2500fbe8866a7f73feb11cdc2f784cea7fd32 | |
parent | 225bcf33faeae6678fc2703522be8a59ac0729a5 [diff] |
CRAS: bt_io: validate profile device pointer before using them Return -EINVAL if found NULL pointer. BUG=b:115952443 TEST=FEATURES=test USE=ubsan emerge-nautilus adhd && FEATURES=test USE=asan emerge-nautilus adhd CQ-DEPEND=CL:I6fcfde73464683fbc7164d7af7f487cc09372f66 Change-Id: I473a15b680452a66a8e608ad9a37806c177935e9 Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1502812 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>