Call for testing: OpenSSH 7.6

Joseph S Testa II jtesta at positronsecurity.com
Sun Sep 24 08:33:39 AEST 2017



On 09/23/2017 06:09 PM, Damien Miller wrote:
> 
> 
> On Sat, 23 Sep 2017, Joseph S Testa II wrote:
> 
>>> Portable OpenSSH is also available via [...] Github:
>> https://github.com/openssh/openssh-portable
>>>
>>> Running the regression tests supplied with Portable OpenSSH does not
>> require installation and is a simply:
>>>
>>> $ ./configure && make tests
>>
>>
>> I was going to try this on Kali Linux (latest version), but ran into trouble
>> right away.  No "configure" script exists in the Github mirror. I fixed this
>> by doing "autoconf && ./configure && make tests", but that ends up failing
>> eventually with:
> 
> 
> If you're checking out from git, you need to run "autoreconf"
> 

Ok.  It got farther this time, but still failed (and there was one 
compile warning):

# git clone https://github.com/openssh/openssh-portable
# cd openssh-portable/
# autoreconf
# ./configure && make tests
[...]
gcc -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare 
-Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign 
-Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv 
-fno-builtin-memset -fstack-protector-strong -fPIE   -I. -I.. -I. -I./.. 
  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -c 
fmt_scaled.c
fmt_scaled.c: In function ‘fmt_scaled’:
fmt_scaled.c:269: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=]
    (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c",
                                                     ^~~~~
fmt_scaled.c:269:46: note: directive argument in the range 
[-9007199254740992, 9007199254740991]
    (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c",
                                               ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
                  from /usr/include/resolv.h:64,
                  from ../openbsd-compat/getrrsetbyname.h:59,
                  from ../openbsd-compat/openbsd-compat.h:44,
                  from ../includes.h:174,
                  from fmt_scaled.c:41:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
‘__builtin___snprintf_chk’ output between 5 and 40 bytes into a 
destination of size 7
    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         __bos (__s), __fmt, __va_arg_pack ());
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
test_kex: 
....................................................................................................................................................................................WARNING: 
could not open /usr/local/etc/moduli (No such file or directory), using 
fixed 
modulus.......................................................................................... 
352 tests ok
[...]
run test connect.sh ...
Missing privilege separation directory: /var/empty
FATAL: sshd_proxy broken
Makefile:203: recipe for target 't-exec' failed
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory '/root/openssh-portable/regress'
Makefile:586: recipe for target 'tests' failed
make: *** [tests] Error 2


More information about the openssh-unix-dev mailing list