From: Will Deacon Date: Tue, 20 Aug 2013 10:47:39 +0000 (+0100) Subject: arm64: perf: fix array out of bounds access in armpmu_map_hw_event() X-Git-Tag: v3.11-rc7~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=868f6fea8fa63f09acbfa93256d0d2abdcabff79;p=pandora-kernel.git arm64: perf: fix array out of bounds access in armpmu_map_hw_event() This is a port of d9f966357b14 ("ARM: 7810/1: perf: Fix array out of bounds access in armpmu_map_hw_event()") to arm64, which fixes an oops in the arm64 perf backend found as a result of Vince's fuzzing tool. Cc: Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed