aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2015-05-11 16:38:02 +0200
committerDoug Ledford <[email protected]>2015-05-11 17:14:37 -0400
commit94634e9861abbc3036d7041773971c8e31ec2680 (patch)
tree9e0d5929005dc891a91d762f85a9ab81a830e128 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentb6b2bbe65b2117afd9766faa7cffea4d8f681455 (diff)
IB/ehca: use correct destination for memcpy
Using an element of a struct as the address for the memcpy of the whole struct may introduce a buffer overflow and does not help readability either simply pass the real thing as first argument to memcpy. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Nicholas Mc Guire <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions