Marek Vasut
1f54025d70
usb: gadget: ci: Avoid null pointer dereference
...
The ci_req->hw_buf can be NULL, test whether it is and if so,
avoid accessing it. Else, the system may crash.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peter Chen <peter.chen@nxp.com>
Cc: Li Jun <jun.li@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
2022-02-11 01:30:43 +01:00
..
2021-07-06 10:38:03 -06:00
2020-05-18 21:19:23 -04:00
2021-09-30 09:08:16 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2022-02-11 01:30:43 +01:00
2015-05-29 12:41:04 +02:00
2021-01-31 14:08:56 +01:00
2018-05-07 09:34:12 -04:00
2021-01-31 14:08:56 +01:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2019-04-21 10:26:52 +02:00
2020-11-22 13:18:20 +01:00
2020-10-20 00:48:58 +02:00
2022-01-13 07:57:50 -05:00
2021-03-03 04:12:46 +01:00
2018-05-07 09:34:12 -04:00
2021-08-02 13:32:14 -04:00
2021-08-02 13:32:14 -04:00
2022-01-26 23:23:17 +01:00
2022-01-28 10:21:51 -05:00
2018-05-07 09:34:12 -04:00
2021-02-26 15:30:55 +01:00
2020-09-01 14:47:43 +02:00
2021-09-17 12:10:44 -04:00
2022-01-20 11:35:29 +01:00
2021-01-31 14:08:56 +01:00
2018-05-18 13:17:30 +02:00
2020-05-18 21:19:23 -04:00
2021-01-31 14:08:56 +01:00
2021-10-12 14:20:04 +02:00
2022-01-26 23:23:17 +01:00
2022-01-26 23:23:17 +01:00
2020-12-18 20:32:21 -07:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2021-09-30 09:08:16 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2021-01-31 14:08:56 +01:00
2021-01-31 14:08:56 +01:00