sergey-safarov created an issue (kamailio/kamailio#4476)
```
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/db_text/dbt_raw_query.c:164:25:
warning: ‘strncpy’ specified bound depends on the length of the source
argument [-Wstringop-truncation]
164 | strncpy(result_cols[n]->s, *(tokens + n),
strlen(*(tokens + n)));
| ^
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/db_text/dbt_raw_query.c:164:25:
note: length computed here
164 | strncpy(result_cols[n]->s, *(tokens + n),
strlen(*(tokens + n)));
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4476
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!