[Bug 2520] ssh-keygen: sanitize ANSI escape sequences in key comment

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Feb 10 14:00:24 AEDT 2017


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2777|0                           |1
        is obsolete|                            |
                 CC|                            |dtucker at zip.com.au
             Status|NEW                         |ASSIGNED
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #2940|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #4 from Damien Miller <djm at mindrot.org> ---
Created attachment 2940
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2940&action=edit
sanitise escape sequences but not valid UTF-8 when the locale supports
it

This patch uses Ingo's recent mprintf API to safely render strings
while preserving UTF-8 characters when the locale supports them.

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


More information about the openssh-bugs mailing list