Re: [PATCH] tty vt: fix character insertion overflow

2013-02-25 Thread Jean-Francois Moine
On Sun, 24 Feb 2013 20:06:09 -0500 (EST) Nicolas Pitre wrote: > Commit 81732c3b2f (tty vt: Fix line garbage in virtual console on > command line edition) broke insert_char() in multiple ways. Then > commit b1a925f44a (tty vt: Fix a regression in command line edition) > partially fixed it. Howev

[PATCH] tty vt: fix character insertion overflow

2013-02-24 Thread Nicolas Pitre
Commit 81732c3b2f (tty vt: Fix line garbage in virtual console on command line edition) broke insert_char() in multiple ways. Then commit b1a925f44a (tty vt: Fix a regression in command line edition) partially fixed it. However, the buffer being moved is still too large and overflowing beyond the