aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDaniel Kim <[email protected]>2014-07-30 13:20:00 +0200
committerJohn W. Linville <[email protected]>2014-07-31 13:41:44 -0400
commit46de06839b4936cc5fd4e6638b8fbf8437bce29e (patch)
tree108dc393091e191ce8828d228802255b982c149b /tools/perf/scripts/python/check-perf-trace.py
parent9f0b4cbdee09e635906611ed8dcc5c51116cbd75 (diff)
brcmfmac: Do not use strcpy and strcat
Commit "c1b2053 brcmfmac: Make firmware path a module parameter" introduced use of strcpy and strcat. The strcpy and strcat require using null terminated strings and can cause out-of-bounds memory access and subsequent corruption. This patch replaces these by strncpy and strncat respectively to assure array boundaries are not crossed. Reviewed-by: Pieter-Paul Giesberts <[email protected]> Reviewed-by: Arend Van Spriel <[email protected]> Signed-off-by: Daniel Kim <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions