mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-10 17:31:59 +02:00
fc40d1b9c781850807e22fe2c6e2bf935fb6615b
In file included from /usr/include/string.h:494,
from os.h:41,
from screen.h:37,
from winmsgbuf.h:28,
from process.h:4,
from process.c:36:
In function ‘strncpy’,
inlined from ‘ShowDInfo’ at process.c:6241:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ offset [386, 513] is out of the bounds [0, 128] of object ‘buf’ with type ‘char[128]’ [-Warray-bounds]
return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
process.c: In function ‘ShowDInfo’:
process.c:6231:7: note: ‘buf’ declared here
char buf[128], *p;
^~~
later in code we set l = 512, but buffer is only 128, increase buffer
size to 512
…
Description
Screen is a full-screen window manager that multiplexes a physical
terminal between several processes, typically interactive shells
Languages
C
76.7%
Roff
14.1%
PostScript
6%
Shell
1.4%
Makefile
1.1%
Other
0.7%