diff options
| author | Daniel Micay <[email protected]> | 2017-06-05 21:52:34 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-06 16:16:10 +0200 |
| commit | 88a5b39b69ab1828fd4130e2baadd184109cea69 (patch) | |
| tree | 0fc290d6955867bc16aa6752857eb836c1264de5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 372bd1eb8484525832a3959cc0b878a7f01dd70b (diff) | |
staging/rts5208: Fix read overflow in memcpy
Noticed by FORTIFY_SOURCE, this swaps memcpy() for strncpy() to zero-value
fill the end of the buffer instead of over-reading a string from .rodata.
Signed-off-by: Daniel Micay <[email protected]>
[kees: wrote commit log]
Signed-off-by: Kees Cook <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Wayne Porter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions