Call for testing: OpenSSH 7.3

Damien Miller djm at mindrot.org
Sat Jul 23 13:13:24 AEST 2016


On Fri, 22 Jul 2016, Hisashi T Fujinaka wrote:

> regress/unittests/test_helper/test_helper.c:162
> (gdb) p key
> $1 = (struct sshkey *) 0x7037f9b120c0
> (gdb) p key->cert
> $2 = (struct sshkey_cert *) 0x7037f9b1b080
> (gdb) p *key->cert
> $3 = {certblob = 0x7037f9b162a0, type = 2, serial = 5, key_id = 0x7037f9b18090
> "julius", nprincipals = 1,
>  principals = 0xfffffffff9b180a0, valid_after = 915145200, valid_before =

Thanks for taking the time to debug this.

The key->cert->principals pointer looks wrong - does NetBSD libc
provide a reallocarray function? We detect its presence during
configure:

checking for reallocarray... no

(that's on Linux)

Could you try commenting out the HAVE_REALLOCARRAY line in config.h
make clean, make and rerun the test?

-d


More information about the openssh-unix-dev mailing list