Source: putty
Version: 0.70-4
Severity: serious
Tags: ftbfs

putty fails to build from source in unstable. -Werror=format-overflow
triggers:

| pscp.c: In function 'scp_send_filename':
| pscp.c:886:22: error: '%s' directive writing up to 39 bytes into a region of 
size 34 [-Werror=format-overflow=]
|   sprintf(buf, "C%04o %s ", (int)(permissions & 07777), sizestr);
|                       ^~                                ~~~~~~~
| In file included from /usr/include/stdio.h:862,
|                  from pscp.c:16:
| /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: 
'__builtin___sprintf_chk' output between 8 and 47 bytes into a destination of 
size 40
|    return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|        __bos (__s), __fmt, __va_arg_pack ());
|        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Helmut

Reply via email to