diff options
| author | Nitin Joshi <[email protected]> | 2025-01-07 02:15:07 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-01-09 11:40:15 +0000 |
| commit | 053c409951db96ca3043e568572b940a99d2464f (patch) | |
| tree | 53307a08d6f80556944bb1d63417db79fec74f30 /drivers/platform/x86/intel/punit_ipc.c | |
| parent | Merge branch 'intel-sst' of https://github.com/spandruvada/linux-kernel into ... (diff) | |
| download | kernel-053c409951db96ca3043e568572b940a99d2464f.tar.gz kernel-053c409951db96ca3043e568572b940a99d2464f.zip | |
platform/x86: thinkpad-acpi: replace strcpy with 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.[1]
[1]: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy
Signed-off-by: Nitin Joshi <[email protected]>
Reviewed-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/punit_ipc.c')
0 files changed, 0 insertions, 0 deletions
