Snippets for 3proxy 1.0.0 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/3proxy/1.0.0/1.fc46/data/logs/i686/build.log.
-
common.c:129:17: warning: ‘strncpy’ output may be truncated copying between 0 and 40 bytes from a string of length 107 [-Wstringop-truncation] 129 | strncpy(dst, basename, (size > 40) ? 40 : size - (ephemeral + 1)); | ^ -
proxy.c:466:66: warning: value computed is not used [-Wunused-value] 466 | (se = (unsigned char *)strchr((char *)sb, '\r')) || (se = (unsigned char *)strchr((char *)sb, '\n')); | ^~ -
/usr/include/bits/stdio2.h:30:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -
datatypes.c:107:31: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] 107 | return sprintf(buf, "/%d", i); | ^~ -
ssllib.c:82:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | if(!(ext = X509_get_ext(src_cert, idx))) return 0; | ^