Bugzilla – Attachment 2624 Details for
Bug 2187
ssh-add unnecessarily prompts for PKCS#11 pin when removing key
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch: free only on existing pin
file_2187.txt (text/plain), 271 bytes, created by
Jakub Jelen
on 2015-05-20 17:59:26 AEST
(
hide
)
Description:
patch: free only on existing pin
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-05-20 17:59:26 AEST
Size:
271 bytes
patch
obsolete
>diff --git a/ssh-add.c b/ssh-add.c >--- a/ssh-add.c >+++ b/ssh-add.c >@@ -357,7 +357,8 @@ update_card(int agent_fd, int add, const char *id) > add ? "add" : "remove", id, ssh_err(r)); > ret = -1; > } >- free(pin); >+ if (pin) >+ free(pin); > return ret; > } >
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
Actions:
View
|
Diff
Attachments on
bug 2187
:
2392
|
2393
| 2624