Bug 28850 - Падает ssh-keygen -t dsa
: Падает ssh-keygen -t dsa
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/openssh-server)
: unstable
: all Linux
: P3 critical
Assigned To:
:
:
:
:
: 27685
  Show dependency tree
 
Reported: 2013-04-15 13:52 by
Modified: 2013-04-15 19:04 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2013-04-15 13:52:17
ssh-keygen -t dsa
Generating public/private dsa key pair.
9304 segmentation fault  ssh-keygen -t dsa
------- Comment #1 From 2013-04-15 14:38:43 -------
(gdb) set args -t dsa
(gdb) run
Starting program: /usr/bin/ssh-keygen -t dsa
Generating public/private dsa key pair.

Program received signal SIGSEGV, Segmentation fault.
BN_GENCB_call (cb=0x4, a=0, b=0) at bn_prime.c:141
141             switch(cb->ver)
(gdb) bt
#0  BN_GENCB_call (cb=0x4, a=0, b=0) at bn_prime.c:141
#1  0x00007ffff7ace534 in dsa_builtin_paramgen (ret=ret@entry=0x636d20,
bits=<optimized out>, bits@entry=1024, qbits=20,
    qbits@entry=160, evpmd=0x7ffff7dc4380 <sha1_md>, seed_in=<optimized out>,
seed_in@entry=0x0, seed_len=seed_len@entry=0,
    seed_out=seed_out@entry=0x0, counter_ret=counter_ret@entry=0x0,
h_ret=h_ret@entry=0x0, cb=0x4) at dsa_gen.c:201
#2  0x0000000000415cb9 in dsa_generate_private_key (bits=1024) at key.c:1042
#3  key_generate (type=type@entry=2, bits=1024) at key.c:1141
#4  0x0000000000407a9d in main (argc=<optimized out>, argv=<optimized out>) at
ssh-keygen.c:2248
------- Comment #2 From 2013-04-15 16:03:29 -------
Это следствие моего фикса баги #24682.
------- Comment #3 From 2013-04-15 19:04:26 -------
openssh-5.9p1-alt6 -> sisyphus:

* Mon Apr 15 2013 Dmitry V. Levin <ldv@altlinux> 5.9p1-alt6
- ssh-keygen: updated fix for #24682 to libcrypto >= 1.0.1 (closes: #28850).