Bug 28850 - Падает ssh-keygen -t dsa
Summary: Падает ssh-keygen -t dsa
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: openssh-server (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 27685
  Show dependency tree
 
Reported: 2013-04-15 13:52 MSK by Anton V. Boyarshinov
Modified: 2013-04-15 19:04 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton V. Boyarshinov 2013-04-15 13:52:17 MSK
ssh-keygen -t dsa
Generating public/private dsa key pair.
9304 segmentation fault  ssh-keygen -t dsa
Comment 1 Anton V. Boyarshinov 2013-04-15 14:38:43 MSK
(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 Dmitry V. Levin 2013-04-15 16:03:29 MSK
Это следствие моего фикса баги #24682.
Comment 3 Repository Robot 2013-04-15 19:04:26 MSK
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).