Call for testing: OpenSSH 8.1

Colin Watson cjwatson at debian.org
Tue Oct 8 21:36:26 AEDT 2019


On Mon, Oct 07, 2019 at 12:08:27PM -0400, Joseph S. Testa II wrote:
> While compiling the master branch on
> https://github.com/openssh/openssh-portable just now on the latest version
> of Kali Linux, I got the following warnings:
> 
> 
> fmt_scaled.c: In function ‘fmt_scaled’:
> fmt_scaled.c:272:52: warning: ‘%1lld’ directive output may be truncated
> writing between 1 and 17 bytes into a region of size between 0 and 5
> [-Wformat-truncation=]
>   272 |   (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c",
>       |                                                    ^~~~~
> fmt_scaled.c:272:46: note: directive argument in the range
> [-9007199254740991, 9]
>   272 |   (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c",
>       |                                              ^~~~~~~~~~~~~~

At least this part seems to be a regression of
https://bugzilla.mindrot.org/show_bug.cgi?id=2769, in case that's
helpful in tracking it down.

-- 
Colin Watson                                       [cjwatson at debian.org]


More information about the openssh-unix-dev mailing list