channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
707 | strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sys/un.h:38,
from /home/k4be/unrealircd-git/include/sys.h:61,
from /home/k4be/unrealircd-git/include/struct.h:27,
from /home/k4be/unrealircd-git/include/unrealircd.h:7,
from channel.c:25:
/usr/include/string.h:512:15: note: in a call to function ?strlcat? declared with attribute ?access (read_write, 1, 3)?
512 | extern size_t strlcat (char *__restrict __dest,
| ^~~~~~~
channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
707 | strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:512:15: note: in a call to function ?strlcat? declared with attribute ?access (read_write, 1, 3)?
512 | extern size_t strlcat (char *__restrict __dest,
| ^~~~~~~
conf.c: In function ?chmode_str?:
conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
727 | strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sys/un.h:38,
from /home/k4be/unrealircd-git/include/sys.h:61,
from /home/k4be/unrealircd-git/include/struct.h:27,
from /home/k4be/unrealircd-git/include/unrealircd.h:7,
from conf.c:21:
/usr/include/string.h:512:15: note: in a call to function ?strlcat? declared with attribute ?access (read_write, 1, 3)?
512 | extern size_t strlcat (char *__restrict __dest,
| ^~~~~~~
conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
727 | strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:512:15: note: in a call to function ?strlcat? declared with attribute ?access (read_write, 1, 3)?
512 | extern size_t strlcat (char *__restrict __dest,
|