diff options
author | Daniel Kim <[email protected]> | 2014-07-30 13:20:00 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2014-07-31 13:41:44 -0400 |
commit | 46de06839b4936cc5fd4e6638b8fbf8437bce29e (patch) | |
tree | 108dc393091e191ce8828d228802255b982c149b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9f0b4cbdee09e635906611ed8dcc5c51116cbd75 (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