[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 16:22:32 AEDT 2017


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

--- Comment #8 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Damien Miller from comment #7)
[...]
> 3. Arrange for the formatting (at least of the filename) to happen
> in a non-signal context

this one gets my vote.

> Perhaps we could do it in scpio somehow? The problem here is that it
> is only called at present for complete writes from atomicio, but
> perhaps we could add some heuristic that allowed it to be called
> when the underlying read/write was interrupted by a signal too?

the atomicio6 function provides callback hooks which are used for
bandwidth limitation, I think that should be sufficient for this.  I'm
looking at it.

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