[Bug 2187] ssh-add unnecessarily prompts for PKCS#11 pin when removing key

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 5 14:25:10 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2187

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Jakub Jelen from comment #3)
> This works, but unfortunately, if you are removing card, you call
> free on NULL pointer, which is ... not good.

Nope, free(NULL) is fine.

>From the free(3) man page: "If ptr is NULL, no operation is performed."

and SuSv2: http://pubs.opengroup.org/onlinepubs/007908799/xsh/free.html
"If ptr is a null pointer, no action occurs."

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list