diff options
author | Dennis Dalessandro <[email protected]> | 2014-02-20 11:02:48 -0500 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2014-03-17 16:16:51 -0700 |
commit | 1c20c81909455f64f2df6107cb099ee5569d9f62 (patch) | |
tree | 87a26985e77081c38cea01b810d73a5893578ecb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
IB/qib: Fix potential buffer overrun in sending diag packet routine
Guard against a potential buffer overrun. Right now the qib driver is
protected by the fact that the data structure in question is only 16
bits. Should that ever change the problem will be exposed. There is a
similar defect in the ipath driver and this brings the two code paths
into sync.
Reported-by: Nico Golde <[email protected]>
Reported-by: Fabian Yamaguchi <[email protected]>
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions