sergey-safarov created an issue (kamailio/kamailio#4475)
```
cd /root/rpmbuild/BUILD/kamailio-6.1.0-dev1/redhat-linux-build/src/modules/seas
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/seas.dir/link.txt --verbose=1
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/jsonrpcs/jsonrpcs_mod.c:
In function ‘jsonrpc_exec_ex’:
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/jsonrpcs/jsonrpcs_mod.c:1533:17:
warning: ‘strncpy’ specified bound depends on the length of the source
argument [-Wstringop-truncation]
1533 | strncpy(rpath->s, val.s, val.len);
| ^
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/jsonrpcs/jsonrpcs_mod.c:1528:27:
note: length computed here
1528 | val.len = strlen(val.s);
| ^~~~~~~~~~~~~
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/jsonrpcs/jsonrpcs_mod.c:1555:33:
warning: ‘strncpy’ specified bound depends on the length of the source
argument [-Wstringop-truncation]
1555 | strncpy(spath->s, val.s, val.len);
| ^
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/jsonrpcs/jsonrpcs_mod.c:1549:35:
note: length computed here
1549 | val.len = strlen(val.s);
| ^~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4475
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!