diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-06 21:25:58 +0100 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-06-09 16:23:41 +0200 |
| commit | a174910917a8e93cb5334e9dce8bac32bff22c47 (patch) | |
| tree | a3706748f194133f049c579e93b3e6fb3caa8ca8 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | 1d5d1b8a4cd195eb95e1068054a8a18088bb9273 (diff) | |
xen/xenbus: Replace strcpy() with memcpy()refs/merge-window/d125f5c03e2ad0c25ecb026c6c504c1f4f1cbc9a
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>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260606202633.5018-4-david.laight.linux@gmail.com>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
