diff options
| author | Mayank Rana <mrana@codeaurora.org> | 2016-09-23 11:40:37 -0700 |
|---|---|---|
| committer | Mayank Rana <mrana@codeaurora.org> | 2016-09-23 11:40:37 -0700 |
| commit | 1ed274d00a29d578cd9dd213d1912f093e404968 (patch) | |
| tree | 631a52933dc5247ad9b6fc63e63c0662890d4861 /tools/perf/scripts/python | |
| parent | 9e2d528dc47d04e98c5e6f1c4ef84fc268115d36 (diff) | |
usb: gadget: f_cdev: Avoid potential NULL pointer dereference
Fix possible NULL pointer dereference issue as strrchr() API can
return NULL if there is no port_num found as part of passed string.
Change-Id: I410e58361282f175e46b68cbfaf4824e386454f8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
