summaryrefslogtreecommitdiff
path: root/include/linux/xarray.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-12 20:04:12 +0300
committerJens Axboe <axboe@kernel.dk>2026-02-19 18:22:02 +0300
commit81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1 (patch)
treea6d96585edf9f060ac5ae886bcd498ade8413685 /include/linux/xarray.h
parentab140365fb62c0bdab22b2f516aff563b2559e3b (diff)
downloadlinux-81b1f046ff8a5ad5da2c970cff354b61dfa1d6b1.tar.xz
drbd: Replace deprecated strcpy with strscpy
strcpy() has been deprecated [1] because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. Replace it with the safer strscpy(). No functional changes. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions