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

Conrad Meyer <c...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@freebsd.org

--- Comment #5 from Conrad Meyer <c...@freebsd.org> ---
The problem is that `name` in vtcon_ctrl_port_name_event (via `payload` in
vtcon_ctrl_process_event, via vtcon_ctrl_task_cb) has a leading space in it. 
(prep_devname rejects names with spaces, double quotes, and trailing slashes,
as well as . and .. components.)

virtio_console isn't prepared to create a device name for host
VIRTIO_CONSOLE_PORT_NAME strings that prep_devname will reject.  It would be
relatively easy to replace bad characters with underscores, or strip
leading/trailing spaces.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to