diff options
| author | Abdul Rahim <abdul.rahim@myyahoo.com> | 2024-11-28 02:07:07 +0530 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-12-02 19:07:28 +0200 |
| commit | 0ffafd4a3b39b341a4d7d73df34ab3b2c07a26c0 (patch) | |
| tree | 77303db0014d6cbb965c321c479139fdcbfed28d /scripts/gdb/linux/device.py | |
| parent | 6e0fb1bdb71cf8078c8532617e565e3db22c0d3c (diff) | |
fujitsu-laptop: replace strcpy -> 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: Abdul Rahim <abdul.rahim@myyahoo.com>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/20241127203710.36425-1-abdul.rahim@myyahoo.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions
