Task #119168 - added.err

back to task #119168
download
Error: COMPILER_WARNING:
libsolv-0.7.39/src/poollang.c: scope_hint: In function ‘pool_id2langid’
libsolv-0.7.39/src/poollang.c:63:18: warning[-Wformat-overflow=]: ‘%s’ directive writing up to 254 bytes into a region of size between 1 and 255
#   63 |   sprintf(p, "%s:%s", n, lang);
#      |                  ^~
/usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 510 bytes into a destination of size 256
#   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   31 |                                   __glibc_objsize (__s), __fmt,
#      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   32 |                                   __va_arg_pack ());
#      |                                   ~~~~~~~~~~~~~~~~~
#   61|     else
#   62|       p = buf;
#   63|->   sprintf(p, "%s:%s", n, lang);
#   64|     id = pool_str2id(pool, p, create);
#   65|     if (p != buf)