linux/drivers/hwtracing/stm
Dan Carpenter 71c488f32b stm: Potential read overflow in stm_char_policy_set_ioctl()
The "size" variable comes from the user so we need to verify that it's
large enough to hold an stp_policy_id struct.

Fixes: 7bd1d4093c ("stm class: Introduce an abstraction for System Trace Module devices")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2017-08-25 17:58:33 +03:00
..
Kconfig stm class: ftrace: Add ftrace-export-over-stm driver 2016-11-22 17:47:48 -05:00
Makefile stm class: ftrace: Add ftrace-export-over-stm driver 2016-11-22 17:47:48 -05:00
console.c stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
core.c stm: Potential read overflow in stm_char_policy_set_ioctl() 2017-08-25 17:58:33 +03:00
dummy_stm.c stm dummy: Mark dummy_stm_packet() with notrace 2016-11-22 17:48:00 -05:00
ftrace.c stm class: ftrace: Add ftrace-export-over-stm driver 2016-11-22 17:47:48 -05:00
heartbeat.c stm class: stm_heartbeat: Make nr_devs parameter read-only 2016-04-08 16:11:51 +03:00
policy.c stm class: Remove unnecessary pointer increment 2016-04-08 16:11:54 +03:00
stm.h stm class: Guard output assignment against concurrency 2016-02-20 14:09:14 -08:00