Mark Rutland 19791a7ca6 arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
It's possible for userspace to control idx. Sanitize idx when using it
as an array index.

Found by smatch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-04-26 16:58:39 +01:00
..
2017-11-15 10:56:56 -08:00
2012-09-17 13:42:21 +01:00
2018-02-09 09:44:25 -08:00
2018-03-19 18:14:27 +00:00
2018-02-08 10:44:25 -08:00
2018-02-26 10:48:01 +01:00
2018-01-13 10:45:03 +00:00
2018-01-13 10:45:10 +00:00
2017-08-09 12:16:28 +01:00