Bug 2271 - Regression test #89 "fuzz Ed25519 sig" fails under Solaris
Summary: Regression test #89 "fuzz Ed25519 sig" fails under Solaris
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Regression tests (show other bugs)
Version: 6.6p1
Hardware: All Solaris
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-07 22:24 AEST by Yann Rouillard
Modified: 2020-11-27 15:04 AEDT (History)
2 users (show)

See Also:


Attachments
config.h (46.96 KB, application/octet-stream)
2014-09-07 22:24 AEST, Yann Rouillard
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Rouillard 2014-09-07 22:24:23 AEST
Created attachment 2471 [details]
config.h

Hi,

I am currently testing the future openssh 6.7 on Solaris (openssh-SNAP-20140907.tar.gz) but the regression tests fails with the following error:

test_sshbuf: ................................................................................................... 100 tests ok
test_sshkey: ........................................................................................
regress/unittests/sshkey/test_fuzz.c:86 test #89 "fuzz Ed25519 sig"
ASSERT_INT_EQ(sshkey_verify(k, sig, l, c, sizeof(c), 0), 0) failed:
sshkey_verify(k, sig, l, c, sizeof(c), 0) = -21
           0 = 0
Failed during fuzz:
FUZZ_1_BIT_FLIP case 1 of 664 (bit: 1)
fuzz context 80c56b0 len = 83
0000: 01 00 00 0b 73 73 68 2d 65 64 32 35 35 31 39 00  ....ssh-ed25519.
0016: 00 00 40 ae f5 f8 c2 dc d3 83 da d4 5c f2 49 5a  ..@.........\.IZ
0032: f3 7b 88 d1 ce 3b 42 14 e1 16 0c 51 ec d3 c2 4b  .{...;B....Q...K
0048: 98 be 12 8b 8e d0 10 48 8d 85 b3 04 58 b1 26 d2  .......H....X.&.
0064: 11 d1 a6 f8 73 b7 b8 92 2f ba ad 6d fa d4 fb eb  ....s.../..m....
0080: d5 04 03                                         ...
Makefile:186: recipe for target 'unit' failed
gmake[1]: *** [unit] Error 134


I attached my config.h and config.log files.

My system is a "SunOS unstable10x 5.10 Generic_147441-19 i86pc i386 i86pc".

Thanks in advance for your help.

Best regards,

Yann
Comment 1 Damien Miller 2014-09-08 08:22:27 AEST
The error message here is misleading - the thing that is actually failing is a sanity check of signature verification before the fuzzing starts. I've not seen this failure before - what version Solaris are you using? Also, which compiler?
Comment 2 Yann Rouillard 2014-09-28 20:01:49 AEST
Hi Damien,

I am using Solaris 10:

$ cat /etc/release
                    Oracle Solaris 10 8/11 s10x_u10wos_17b X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011


The Compiler is the one from Solaris Studio: Sun C 5.9 SunOS_i386 Patch 124868-15 2010/08/11
Comment 3 Darren Tucker 2020-11-27 15:04:35 AEDT
Is this still an issue?  I don't have the Solaris Studio compiler but with the current code the unit test pass on my Solaris 10 VM ("SunOS sol10 5.10 Generic_147148-26 i86pc i386 i86pc") using gcc 3.4.6.

$ ../../configure --with-ssl-dir=/usr/local/ssl --with-zlib=/usr/local && make unit
[...]
unit tests passed
$