sergey-safarov created an issue (kamailio/kamailio#4472)

```
cd 
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/redhat-linux-build/src/modules/http_async_client
 && /usr/bin/gcc -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DARCH=\"x86_64\" 
-DCC_GCC_LIKE_ASM -DCFG_DIR=\"/etc/kamailio/\" -DCOMPILER="\"gcc 14.3.1\"" 
-DDBG_SR_MEMORY -DDISABLE_NAGLE -DDNS_IP_HACK -DFAST_LOCK -DF_MALLOC 
-DHAVE_ALLOCA_H -DHAVE_EPOLL -DHAVE_GETHOSTBYNAME2 -DHAVE_IP_MREQN 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_MSG_NOSIGNAL -DHAVE_RESOLV_RES 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_SCHED_YIELD -DHAVE_SELECT -DHAVE_SIGIO_RT 
-DHAVE_TIMEGM -DHAVE_UNION_SEMUN -DKSR_PTHREAD_MUTEX_SHARED -DMALLOC_STATS 
-DMEM_JOIN_FREE -DMOD_NAME=\"http_async_client\" -DMOD_NAMEID=http_async_client 
-DNAME=\"kamailio\" -DOS=Linux -DOS_QUOTED=\"Linux\" -DPKG_MALLOC -DQ_MALLOC 
-DRUN_DIR=\"/run/kamailio\" -DSHARE_DIR=\"/usr/share/kamailio/\" -DSHM_MMAP 
-DSIGINFO64_WORKAROUND -DSTATISTICS -DTLSF_MALLOC -DTLS_HOOKS -DUSE_CORE_STATS 
-DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_FUTEX -DUSE_MCAST 
-DUSE_NAPTR -DUSE_RAW_SOCKS -DUSE_SCTP -DUSE_TCP -DUSE_TLS 
-DVERSION=\"6.1.0-dev1\" -DVERSIONVAL=6001000 -D__CPU_x86_64 -D__OS_linux 
-Dhttp_async_client_EXPORTS  -O2 -flto=auto -ffat-lto-objects -fexceptions -g 
-grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v3 
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection 
-fcf-protection -mtls-dialect=gnu2 -DNDEBUG -std=gnu11 -fPIC 
-ffile-prefix-map=/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/=
 -fPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops 
-ftree-vectorize -fno-strict-overflow -mtune=generic -MD -MT 
src/modules/http_async_client/CMakeFiles/http_async_client.dir/http_multi.c.o 
-MF CMakeFiles/http_async_client.dir/http_multi.c.o.d -o 
CMakeFiles/http_async_client.dir/http_multi.c.o -c 
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/http_multi.c
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/async_http.c:
 In function ‘async_http_cb’:
/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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: Leaving directory 
'/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/redhat-linux-build'
[ 54%] Built target h350
/root/rpmbuild/BUILD/kamailio-6.1.0-dev1/src/modules/http_async_client/http_multi.c:
 In function ‘reply_error’:
/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/4472
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!

Reply via email to