sergey-safarov created an issue (kamailio/kamailio#4483)
```
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/async_http.c:228:9:
warning: ‘__strncpy_chk’ specified bound depends on the length of the source
argument [-Wstringop-truncation]
228 | strncpy(q_id, aq->id, strlen(aq->id));
| ^
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/async_http.c:228:9:
note: length computed here
228 | strncpy(q_id, aq->id, strlen(aq->id));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
and second
```
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/http_multi.c:337:17:
warning: ‘__strncpy_chk’ specified bound depends on the length of the source
argument [-Wstringop-truncation]
337 | strncpy(reply->error, cell->error, strlen(cell->error));
| ^
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/http_multi.c:337:17:
note: length computed here
337 | strncpy(reply->error, cell->error, strlen(cell->error));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4483
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!