Bez tytułu

z Lousy Lechwe, 4 dni temu, napisane w Plain Text, wyświetlone 3 razy. [paste_expire] 10 miesiące.
URL https://pastebin.k4be.pl/view/3174bfc5 Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
  1. channel.c: In function ‘channel_modes’:
  2. channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 18446744073709551615] [-Wnonnull]
  3.   707 |                                 strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
  4.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. In file included from /usr/include/sys/un.h:38,
  6.                  from /home/k4be/git/unrealircd/include/sys.h:61,
  7.                  from /home/k4be/git/unrealircd/include/struct.h:27,
  8.                  from /home/k4be/git/unrealircd/include/unrealircd.h:7,
  9.                  from channel.c:25:
  10. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  11.   512 | extern size_t strlcat (char *__restrict __dest,
  12.       |               ^~~~~~~
  13. channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 18446744073709551615] [-Wnonnull]
  14.   707 |                                 strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
  15.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  17.   512 | extern size_t strlcat (char *__restrict __dest,
  18.       |               ^~~~~~~
  19.  
  20.  
  21. conf.c: In function ‘chmode_str’:
  22. conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 18446744073709551615] [-Wnonnull]
  23.   727 |                                 strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
  24.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. In file included from /usr/include/sys/un.h:38,
  26.                  from /home/k4be/git/unrealircd/include/sys.h:61,
  27.                  from /home/k4be/git/unrealircd/include/struct.h:27,
  28.                  from /home/k4be/git/unrealircd/include/unrealircd.h:7,
  29.                  from conf.c:21:
  30. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  31.   512 | extern size_t strlcat (char *__restrict __dest,
  32.       |               ^~~~~~~
  33. conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 18446744073709551615] [-Wnonnull]
  34.   727 |                                 strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
  35.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  37.   512 | extern size_t strlcat (char *__restrict __dest,
  38.       |               ^~~~~~~
  39.  
  40.  
  41. modulemanager.c: In function ‘mm_parse_module_c_file’:
  42. modulemanager.c:287:41: warning: argument 1 is null but the corresponding size argument 3 value is 16384 [-Wnonnull]
  43.   287 |                                         strlcat(moduleconfig, buf, MODULECONFIGBUFFER);
  44.       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. In file included from /usr/include/sys/un.h:38,
  46.                  from /home/k4be/git/unrealircd/include/sys.h:61,
  47.                  from /home/k4be/git/unrealircd/include/struct.h:27,
  48.                  from /home/k4be/git/unrealircd/include/unrealircd.h:7,
  49.                  from modulemanager.c:7:
  50. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  51.   512 | extern size_t strlcat (char *__restrict __dest,
  52.       |               ^~~~~~~
  53. utf8.c: In function ‘unrl_utf8_make_valid’:
  54. utf8.c:183:41: warning: argument 1 is null but the corresponding size argument 3 value is [1, 18446744073709551615] [-Wnonnull]
  55.   183 |                                         strlcpy(outputbuf, str, outputbuflen);
  56.       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. In file included from /usr/include/sys/un.h:38,
  58.                  from /home/k4be/git/unrealircd/include/sys.h:61,
  59.                  from /home/k4be/git/unrealircd/include/struct.h:27,
  60.                  from /home/k4be/git/unrealircd/include/unrealircd.h:7,
  61.                  from utf8.c:1:
  62. /usr/include/string.h:506:15: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’
  63.   506 | extern size_t strlcpy (char *__restrict __dest,
  64.       |               ^~~~~~~
  65.  

odpowiedź "Bez tytułu"

Tutaj możesz odpowiedzieć na wklejkę z góry

captcha