sergey-safarov created an issue (kamailio/kamailio#4487)
```
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/slack/slack.c:194:9:
warning: ‘strncpy’ output truncated before terminating nul copying as many
bytes from a string as its length [-Wstringop-truncation]
194 | strncpy(slack_url, val, len);
| ^
In function ‘_slack_parse_url_param’,
inlined from ‘_slack_url_param’ at
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/slack/slack.c:210:9:
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/slack/slack.c:176:15:
note: length computed here
176 | len = strlen(val);
| ^~~~~~~~~~~
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4487
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!