diff options
| author | Dan Carpenter <[email protected]> | 2014-04-03 07:21:34 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2014-04-28 19:43:24 +0000 |
| commit | 3894e9e82dfdc87fa35dc7976e0472d220228826 (patch) | |
| tree | ff20bd710bb1b3f22929f19c7d53ba4f8388e50c /tools/perf/scripts/python/netdev-times.py | |
| parent | irqchip: armanda: Sanitize set_irq_affinity() (diff) | |
| download | kernel-3894e9e82dfdc87fa35dc7976e0472d220228826.tar.gz kernel-3894e9e82dfdc87fa35dc7976e0472d220228826.zip | |
irqchip: irq-crossbar: Not allocating enough memory
We are allocating the size of a pointer and not the size of the data.
This will lead to memory corruption.
There isn't actually a "cb_device" struct, btw. The code is only able
to compile because GCC knows that all pointers are the same size.
Fixes: 96ca848ef7ea ('DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Sricharan R <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Rob Herring <[email protected]>
Link: http://lkml.kernel.org/r/20140403072134.GA14286@mwanda
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
