diff options
| author | 7c6f434c <7c6f434c@mail.ru> | 2025-02-24 20:26:28 +0100 |
|---|---|---|
| committer | 7c6f434c <7c6f434c@mail.ru> | 2025-02-25 02:00:45 +0100 |
| commit | 9f28f1d93c444dce430ada01ff73d644bd62b063 (patch) | |
| tree | aa16b03094d56fdfb3ffb517704551b5b3978b5d /pkgs/development/python-modules/rangehttpserver | |
| parent | fbd134f04445179e626d4826b1946add4d03b253 (diff) | |
screen: fix the use of strncpy when using -X
SendCmdMessage in attacher.c used strncpy with increasing pointers into
the same buffer without reducing the available buffer size.
As the length is computed and checked already, use memcpy.
If the check fails, fail the operation instead of silent truncation of
the arguments sent.
Co-authored-by: Reno Dakota <paparodeo@proton.me>
Fixes: #384835
Related to: https://savannah.gnu.org/bugs/index.php?66215
Related to: https://savannah.gnu.org/bugs/index.php?66142
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
