Bug 249702 - pkcs11-tool segfaults when run
Summary: pkcs11-tool segfaults when run
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opensc
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-26 15:13 UTC by Nalin Dahyabhai
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 0.11.3-2
Clone Of:
Environment:
Last Closed: 2007-07-26 19:11:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nalin Dahyabhai 2007-07-26 15:13:27 UTC
Description of problem:
If I run pkcs11-tool with no arguments, it crashes.

Version-Release number of selected component (if applicable):
opensc-0.11.3-1.fc8

Here's the backtrace from the core dump:
#0  0x00002aaaabd96160 in strlen () from /lib64/libc.so.6
(gdb) where
#0  0x00002aaaabd96160 in strlen () from /lib64/libc.so.6
#1  0x00002aaaabd650bb in vfprintf () from /lib64/libc.so.6
#2  0x00002aaaabe033a1 in __printf_chk () from /lib64/libc.so.6
#3  0x000000000040a651 in print_usage_and_die (app_name=<value optimized out>, 
    options=0x40f0a0, option_help=0x610620) at util.c:187
#4  0x0000000000409427 in main (argc=1, argv=0x7fff3b766c08)
    at pkcs11-tool.c:451
#5  0x00002aaaabd3cab4 in __libc_start_main () from /lib64/libc.so.6
#6  0x0000000000401e69 in _start ()

Comment 1 Ville Skyttä 2007-07-26 19:11:45 UTC
Yep, usage message output crash caused by a missing description for the
--delete-object option.  Fixed in 0.11.3-2 which is currently being built,
thanks for the report.


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