https://bugzilla.mindrot.org/show_bug.cgi?id=3580
Bug ID: 3580
Summary: ssh-keygen -l: "no comment" never appears again after
the first comment
Product: Portable OpenSSH
Version: 9.3p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh-keygen
Assignee: [email protected]
Reporter: [email protected]
When running ssh-keygen -l on an input file that contains both public
keys with and without comment, then the indicator "no comment" never
appears again after the first comment. This is because in
do_fingerprint() the variable "comment" is initialized to NULL only
once at the start of the function, but it must actually be
re-initialized for each line read.
For instructions on how to reproduce this bug, as well as a patch for
the very simple and obvious fix, please see my pull-request at
https://github.com/openssh/openssh-portable/pull/407
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs