[Bug 220507] resizewin(1) doesn't work with vt(4)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 20 08:39:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220507

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
See sys/teken/libteken/teken.3:
>     The tf_respond() callback is used to respond to device status requests
>     commands generated by an application.  In the past, there have been
>     various security issues, where a malicious application sends a device
>     status request before termination, causing the generated response to be
>     interpreted by applications such as sh(1).
>
>     teken only implements a small subset of responses which are unlikely to
>     cause any harm.  Still, it is advised to leave tf_respond()
>     unimplemented.

and indeed vt(4) does not set tf_respond.

For reference syscons provides scteken_respond; see
sys/dev/syscons/scterm-teken.c and sc_respond in sys/dev/syscons/syscons.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list