commit | 35132d5aa7157a8f06fd1b470d47f84718a17185 | [log] [tgz] |
---|---|---|
author | AKASH KUMAR <quic_akakum@quicinc.com> | Tue Aug 02 12:11:39 2022 +0530 |
committer | AKASH KUMAR <quic_akakum@quicinc.com> | Wed Oct 05 18:04:49 2022 +0530 |
tree | 8645f8b909b765da637f7f6661ca39e958e929cb | |
parent | 9b13b44df9282d74e25397fe8537e8c85aab8ee0 [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