summaryrefslogtreecommitdiff
path: root/drivers/staging/most/cdev/cdev.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2019-12-13 13:04:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-17 13:54:36 +0100
commitd72f82635e3317b5e035af40aa815c6d064c2fee (patch)
tree78a235aa61cc91ecbef78cb4b3d0afd0f3255482 /drivers/staging/most/cdev/cdev.c
parentb4e37a5e2c3202438f777410481a55de7137d0d4 (diff)
staging: most: configfs: use strlcpy
This patch uses strlcpy to copy data provided by userspace in order to not overflow the allocated space. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Link: https://lore.kernel.org/r/1576238662-16512-5-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/cdev/cdev.c')
0 files changed, 0 insertions, 0 deletions