diff options
author | 2018-04-06 15:36:11 -0700 | |
---|---|---|
committer | 2018-04-06 15:39:18 -0700 | |
commit | 839c42273617787318da7baf6151d553108f5e17 (patch) | |
tree | cf916a04b3632b742374f3f19c6222d6856848d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'next' into for-linus (diff) | |
download | linux-dev-839c42273617787318da7baf6151d553108f5e17.tar.xz linux-dev-839c42273617787318da7baf6151d553108f5e17.zip |
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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions