Bugzilla – Attachment 2394 Details for
Bug 2186
ssh-agent crashes when removing PKCS#11 library keys if non-PKCS#11 keys are present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tweaked patch
agent-crash-pkcs11.diff (text/plain), 648 bytes, created by
Damien Miller
on 2013-12-19 11:07:37 AEDT
(
hide
)
Description:
tweaked patch
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2013-12-19 11:07:37 AEDT
Size:
648 bytes
patch
obsolete
>Index: ssh-agent.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh-agent.c,v >retrieving revision 1.180 >diff -u -p -r1.180 ssh-agent.c >--- ssh-agent.c 6 Dec 2013 13:39:49 -0000 1.180 >+++ ssh-agent.c 19 Dec 2013 00:06:41 -0000 >@@ -646,6 +646,9 @@ process_remove_smartcard_key(SocketEntry > tab = idtab_lookup(version); > for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) { > nxt = TAILQ_NEXT(id, next); >+ /* Skip file--based keys */ >+ if (id->provider == NULL) >+ continue; > if (!strcmp(provider, id->provider)) { > TAILQ_REMOVE(&tab->idlist, id, next); > free_identity(id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2186
:
2391
| 2394