summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorLen Baker <len.baker@gmx.com>2021-07-17 19:05:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 16:10:41 +0300
commitfa8db3989362866ea1beb1314fc4e86f373a6425 (patch)
tree19997dc73759ecef1510659a636a0f9af88b7159 /drivers/staging/wlan-ng
parent56315e55119c0ea57e142b6efb7c31208628ad86 (diff)
downloadlinux-fa8db3989362866ea1beb1314fc4e86f373a6425.tar.xz
staging/most: Remove all strcpy() uses in favor of strscpy()
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(). Signed-off-by: Len Baker <len.baker@gmx.com> Link: https://lore.kernel.org/r/20210717160512.16176-1-len.baker@gmx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
0 files changed, 0 insertions, 0 deletions