diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-06 23:26:02 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-06-10 11:22:47 +0300 |
| commit | 4cd243ef30d185e99098d2191302a3dc49bfef58 (patch) | |
| tree | be793c97e7a0739b96d8c31d8fba0ce3a1f8fcee /include/linux | |
| parent | 201dd93a177806747af7b99f1021b6fb4d042ed7 (diff) | |
| download | linux-4cd243ef30d185e99098d2191302a3dc49bfef58.tar.xz | |
rfkill: Replace strcpy() with memcpy()
The length of the string is calculated in order to allocate the correct
sized memory block, use the same length to copy the string.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Link: https://patch.msgid.link/20260606202633.5018-8-david.laight.linux@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
