aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJeffrey Deans <[email protected]>2014-07-17 09:20:56 +0100
committerRalf Baechle <[email protected]>2014-07-31 13:58:14 +0200
commitffc8415afab20bd97754efae6aad1f67b531132b (patch)
tree2988b6633eb6d1c944608fc2cf258308816a0bc4 /lib/test-string_helpers.c
parent2e5767a27337812f6850b3fa362419e2f085e5c3 (diff)
MIPS: GIC: Prevent array overrun
A GIC interrupt which is declared as having a GIC_MAP_TO_NMI_MSK mapping causes the cpu parameter to gic_setup_intr() to be increased to 32, causing memory corruption when pcpu_masks[] is written to again later in the function. Signed-off-by: Jeffrey Deans <[email protected]> Signed-off-by: Markos Chandras <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/7375/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions