aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2018-12-19 19:52:28 +1100
committerMichael Ellerman <[email protected]>2018-12-21 16:20:46 +1100
commit135ef954051b102870a8d47a8eb822af1f1b1ec1 (patch)
tree0769b1280ba5f1d5cf301d1f408127d1ed0e67e9 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent1b785611e1191751e1fb44ac3e89a0bd68ec7971 (diff)
powerpc/powernv/npu: Check mmio_atsd array bounds when populating
A broken device tree might contain more than 8 values and introduce hard to debug memory corruption bug. This adds the boundary check. Signed-off-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions