[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Feb 15 17:03:50 AEDT 2017


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

--- Comment #11 from Damien Miller <djm at mindrot.org> ---
Comment on attachment 2942
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2942
Simplify population of file name display


>+	displayname[0] = '\0';
>+	if (file_len > 0)
>+		snprintf(displayname, file_len, "%*s ", file_len * -1, file);

I don't this will give good output if it chops file in the middle of a
multibyte character.

-- 
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