Re: [PATCH] ratp: only allow bidirectional consoles

2017-06-07 Thread Sascha Hauer
On Tue, Jun 06, 2017 at 03:52:10PM +0200, Aleksander Morgado wrote: > Ignore requests to switch to RATP mode in input-only or output-only > consoles. > > This actually also avoids segfaulting later on: > > #0 0x in ?? () > #1 0x0040b2a4 in console_send (r=, >

[PATCH] ratp: only allow bidirectional consoles

2017-06-06 Thread Aleksander Morgado
Ignore requests to switch to RATP mode in input-only or output-only consoles. This actually also avoids segfaulting later on: #0 0x in ?? () #1 0x0040b2a4 in console_send (r=, pkt=0x7fffd8ec, len=4) at common/ratp.c:102 #2 0x0042ab99 in