Bug 593 - fix a possible segfault. ask for passphrase
Summary: fix a possible segfault. ask for passphrase
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Smartcard (show other bugs)
Version: -current
Hardware: All Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 20:17 AEST by Andreas Jellinghaus
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
patch against current cvs (1.61 KB, patch)
2003-06-16 20:18 AEST, Andreas Jellinghaus
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jellinghaus 2003-06-16 20:17:46 AEST
if a reader index is specified, but out of range the code
will segfault. the patch contains a check to prevent that.

the current scard-opensc.c code does not ask for the password/pin/phrase
of the key. the patch adds code to do that.
Comment 1 Andreas Jellinghaus 2003-06-16 20:18:56 AEST
Created attachment 327 [details]
patch against current cvs
Comment 2 Damien Miller 2003-06-28 18:08:26 AEST
Reader count check applied. Please file a separate bug for the passphrase issue.
Comment 3 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED