aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLen Baker <[email protected]>2021-07-23 19:32:16 +0200
committerGreg Kroah-Hartman <[email protected]>2021-07-27 15:20:56 +0200
commitcf79ee6eb0d7d5f45ad58c395ee855e2e1bbc9b2 (patch)
tree0336633982e7fbccb9ff85fb50738a4ca8aee6e4 /tools
parent36174650c4283c9bc1c6e63d3d835c824c7a2903 (diff)
staging/rtl8192e: Remove all strcpy() uses
strcpy() performs no bounds checking on the destination buffer. This could result in linear overflows beyond the end of the buffer, leading to all kinds of misbehaviors. The safe replacement is strscpy(). It is also dangerous a strcpy() followed by a strcat(). In this case, refactor the code using scnprintf() and avoid this combination. Signed-off-by: Len Baker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions