SIGSEGV: openssl/openssh

Sunil K. Vallamkonda sunil at redback.com
Sat Jan 20 09:32:44 EST 2001



I am using:
OpenSSL 0.9.5a  1 Apr 2000
OpenSSH_2.3.1p1 
OS: NetBSD 1.4.2

I get ssh-keygen errors at runtime:

% gdb ./ssh-keygen
(gdb) r
Starting program: ./ssh-keygen

Program received signal SIGSEGV, Segmentation fault.
0x2ddce in expand (lh=0xd3080) at openssl/crypto/lhash/lhash.c:321
321                             np->next= *n2;
(gdb) where
#0  0x2ddce in expand (lh=0xd3080) at openssl/crypto/lhash/lhash.c:321
#1  0x2dff4 in lh_insert (lh=0xd3080, data=0xd8800)
    at openssl/crypto/lhash/lhash.c:187
#2  0x2efec in OBJ_NAME_add (name=0x3054a "RC4", type=2, data=0xbc0c0
"\005")
    at openssl/crypto/objects/o_names.c:171
#3  0x4c23a in EVP_add_cipher (c=0xbc0c0)
    at openssl/crypto/evp/names.c:69
#4  0x2ceca in OpenSSL_add_all_ciphers ()
    at openssl/crypto/evp/c_allc.c:94
#5  0x2ccf8 in OpenSSL_add_all_algorithms ()
    at openssl/crypto/evp/c_all.c:65
#6  0x29a4 in main (ac=1, av=0xefbfd628) at openssh/ssh-keygen.c:649
(gdb)

(gdb) p n2
$1 = (LHASH_NODE **) 0xd9040
(gdb) p *n2
$2 = (LHASH_NODE *) 0x0
(gdb) p np
$3 = (LHASH_NODE *) 0x8d7ca
(gdb) p np->next
$4 = (struct lhash_node_st *) 0xe8510c4d


Any suggestions ?

Thank you.







More information about the openssh-unix-dev mailing list