ssh-keygen: sanitize ANSI escape sequences in key comment

Roland Hieber rohieb at rohieb.name
Wed Jan 6 06:21:59 AEDT 2016


On 04.01.2016 08:29, Damien Miller wrote:
> No problem :) Could I ask you to file a bug at https://bugzilla.mindrot.org/ ?
> 
> I think we should use strnvis* with VIS_SAFE|VIS_OCTAL flags instead of
> explicit white/blacklists of characters.

Thanks, I didn't know about strvis() yet, but it does what I want :)
The new patch is at https://bugzilla.mindrot.org/show_bug.cgi?id=2520

 - Roland

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160105/f2f056d5/attachment.bin>


More information about the openssh-unix-dev mailing list