On Sat, 23 Jul 2016, Damien Miller wrote:
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?
That works. Weird how I need that on -current but not on -7.
--
Hisashi T Fujinaka - htodd@xxxxxxxxxxxx
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev