diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-09-13 10:17:25 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2016-09-20 09:18:25 -0700 |
| commit | 2d50ef2cf3860caea1fc70e41986c58a8a9b0a50 (patch) | |
| tree | a09a938a6e4dccb511434dc8b17ca3249fcfe4d9 /tools/perf/scripts/python | |
| parent | c6855ffd7f2bab457b4be5c383110868e662cedf (diff) | |
usb: pd: Avoid potential NULL ptr dereferences
Check that a valid pointer was passed in addition to non-zero
length to avoid dereferencing NULL pointers in functions
where data is copied from policy engine to the PD PHY.
Issues were identified with static analysis tool.
Change-Id: Ib42aad9e0d838eda4653e0bab9f074b3031983dd
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
