mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 13:28:00 +02:00
mbtocs should not truncate input
Fixes pasting more than 1024 bytes into xterm, as described in https://bugs.freedesktop.org/show_bug.cgi?id=25209 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
9b8d8c9e5b
commit
002b36e308
1 changed files with 0 additions and 3 deletions
|
|
@ -1784,9 +1784,6 @@ mbtocs(
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
if (*from_left > *to_left)
|
||||
*from_left = *to_left;
|
||||
|
||||
while (*from_left && *to_left) {
|
||||
|
||||
ch = *inbufptr++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue