commit | 1543dba93c82e5ade2e8f9875096a778a214b0bb | [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:18:45 2022 -0800 |
tree | 3cd00012391a39895fa262be5e82e7771076cba5 | |
parent | dfb2e27ae212cfd1ea34d47de53d312d1c716924 [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