Amadeusz Sławiński fc40d1b9c7 fix buffer size
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
2018-05-13 11:08:11 +02:00
2018-05-13 11:08:11 +02:00
Description
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells
9.9 MiB
Languages
C 76.7%
Roff 14.1%
PostScript 6%
Shell 1.4%
Makefile 1.1%
Other 0.7%