diff options
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | 2014-10-29 08:58:05 +0000 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-11-05 16:35:55 +0100 |
commit | b3191432cf49c556f47d75c929f5aa692ae59da1 (patch) | |
tree | 6af075f38a798c60051ac1359fdbb3b001ad24d2 /target-cris | |
parent | f0d4dc18ce398e166c4b186bff325e755c22db2f (diff) |
s390x/sclpconsole-lm: truncate input if line is too long
As the SCLP line mode console input length is limited by the available
SCCB buffer space, it might lock up if the input does not fit into the
buffer.
With this patch, characters that don't fit are 'eaten' up to the next
CR/LF and the input line is sent truncated to the guest.
Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions