diff options
author | Christophe JAILLET <[email protected]> | 2018-04-06 15:36:11 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2018-04-06 15:39:18 -0700 |
commit | 839c42273617787318da7baf6151d553108f5e17 (patch) | |
tree | cf916a04b3632b742374f3f19c6222d6856848d6 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 664b0bae0b87f69bc9deb098f5e0158b9cf18e04 (diff) |
Input: synaptics-rmi4 - fix an unchecked out of memory error path
When extending the rmi_spi buffers, we must check that no out of memory
error occurs, otherwise we may access data above the currently allocated
memory.
Propagate the error code returned by 'rmi_spi_manage_pools()' instead.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Andrew Duggan <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions