diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-12-19 19:52:28 +1100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-21 16:20:46 +1100 |
| commit | 135ef954051b102870a8d47a8eb822af1f1b1ec1 (patch) | |
| tree | 0769b1280ba5f1d5cf301d1f408127d1ed0e67e9 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | powerpc/powernv/npu: Add release_ownership hook (diff) | |
| download | linux-135ef954051b102870a8d47a8eb822af1f1b1ec1.tar.gz linux-135ef954051b102870a8d47a8eb822af1f1b1ec1.zip | |
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 <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
