summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-02-10 15:33:29 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-13 10:38:34 -0800
commitc39b242b643da24676fd02ea83f6b6aba0a4d69a (patch)
treefc061bb40d3d33ea741c8a32c0f51140032fde7c /kernel/trace/trace_functions_graph.c
parent3a7e752617514960c5cecdf84e12b13dc63c04c7 (diff)
usb: pd: Avoid buffer overrun during msg_rx
When copying the buffer to the rx_msg structure, ensure that we do not copy more than the payload buffer size. Guard the unknown len parameter within a min() check. Change-Id: I55feff0dbee59b680a42878a38da8e9742332008 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions