tags 853544 upstream fixed-upstream
thanks

On Tue, 31 Jan 2017 09:33:50 +0000 Matthias Klose <d...@debian.org> wrote:

> items.c:730:45: error: '%d' directive output truncated writing between 10 and 
> 11 bytes into a region of size 8 [-Werror=format-truncation=]
>                  snprintf(key, sizeof(key), "%d", i * 32);
>                                              ^~
> items.c:730:44: note: using the range [-2147483648, 2147483647] for directive 
> argument
>                  snprintf(key, sizeof(key), "%d", i * 32);
>                                             ^~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from /usr/include/event2/event.h:195,
>                  from /usr/include/event.h:71,
>                  from memcached.h:16,
>                  from items.c:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output 
> between 11 and 12 bytes into a destination of size 8
>    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         __bos (__s), __fmt, __va_arg_pack ());
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> items.c: In function 'item_stats_sizes':
> items.c:730:45: error: '%d' directive output truncated writing between 10 and 
> 11 bytes into a region of size 8 [-Werror=format-truncation=]
>                  snprintf(key, sizeof(key), "%d", i * 32);
>                                              ^~
> items.c:730:44: note: using the range [-2147483648, 2147483647] for directive 
> argument
>                  snprintf(key, sizeof(key), "%d", i * 32);
>                                             ^~~~
> In file included from /usr/include/stdio.h:938:0,
>                  from /usr/include/event2/event.h:195,
>                  from /usr/include/event.h:71,
>                  from memcached.h:16,

All is now fine with release 1.4.36
(https://github.com/memcached/memcached/commit/64bbbf4c7655a540247db4b608b00f809742f24b),
will be released after the freeze in unstable.


-- 
Guillaume Delacour

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to