aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiad Kaufman <[email protected]>2014-01-27 16:34:23 +0200
committerEmmanuel Grumbach <[email protected]>2014-02-03 22:23:42 +0200
commit84b0312eee685bd0b2ca250dcea7049c8be4b655 (patch)
tree14c3544d14d08ef4033a4c3760159ca3d252853f /tools/perf/scripts/python
parent034846cfd23e00a70b48363d70dccc3f8d537053 (diff)
iwlwifi: fix potential buffer overrun in fw name
Fix a potential buffer overrun when creating the fw name in drv->firmware_name by setting a maximal length to the char array copied to it. The maximal length is also updated to 32 rather than 25 to keep both 32bit and 64bit alignment without requiring padding to the struct it is in. Signed-off-by: Liad Kaufman <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions