Snippets for libupnp 1.18.5 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/community/libupnp/libupnp-1.18.5-r0.log.
-
/home/buildozer/aports/community/libupnp/src/pupnp-release-1.18.5/upnp/src/urlconfig/urlconfig.c:199:35: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 173 [-Wformat-truncation=] 199 | snprintf(descURL, len, "%s%s%s", http_scheme, ipPortStr, alias); | ^~ -
/home/buildozer/aports/community/libupnp/src/pupnp-release-1.18.5/upnp/src/threadutil/ThreadPool.c:435:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 435 | (unsigned int)ithread_get_current_thread_id()); | ^ -
/home/buildozer/aports/community/libupnp/src/pupnp-release-1.18.5/upnp/src/genlib/miniserver/miniserver.c:218:54: warning: ']:' directive output may be truncated writing 2 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 218 | n = snprintf(host_port, hp_size, "[%s]:%d", host, port); | ^~ -
/home/buildozer/aports/community/libupnp/src/pupnp-release-1.18.5/upnp/src/genlib/miniserver/miniserver.c:228:54: warning: '%d' directive output may be truncated writing between 1 and 5 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 228 | n = snprintf(host_port, hp_size, "%s:%d", host, port); | ^~