commit | 721d2e2a198247090c59379546af81e83c710321 | [log] [tgz] |
---|---|---|
author | AKASH KUMAR <quic_akakum@quicinc.com> | Tue Aug 02 12:11:39 2022 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Dec 11 21:19:10 2022 -0800 |
tree | b6f64794a218c21453e704510d4f7bc53a41a321 | |
parent | 9183b0fc26fcb57cdd1359e7e4f29e8ce2f5629e [diff] |
USB: HAL: handling readFile failure on device path Currently readFile() is called without checking if the operation succeeded in reading the bInterfaceClass value. Return from function if readfile fails to populate bInterfaceClass to avoid doing operation on NULL variables leading usb hal crash. Change-Id: I7009305fa91541e22b99732620a586742a1b5f0c