lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121118110523.GA12094@shrek.podlesie.net>
Date:	Sun, 18 Nov 2012 12:05:23 +0100
From:	Krzysztof Mazur <krzysiek@...lesie.net>
To:	gregkh@...uxfoundation.org, moinejf@...e.fr
Cc:	linux-kernel@...r.kernel.org, alan@...ux.intel.com
Subject: vt: regression caused by "Fix line garbage in virtual.."

Hi,

commit 81732c3b2fede049a692e58a7ceabb6d18ffb18c
(tty vt: Fix line garbage in virtual console on command line edition)
introduced some regression in deleting characters/clearing line during
selecting previous command in bash by using "up" arrow.


The problem can be reproduced by two following commands:

echo -n "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
echo -e "\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x1b\x5b\x33\x50\x64\x72\x69\x76\x65\x72\x73\x2f\x69\x6e\x70\x75\x74\x2f\x6d\x6f\x75\x73\x65\x64\x65\x76\x2e\x63"

(the first command generates just some garbage, the second command
generates string captured by strace when the issue occured).


On Linux v3.6 the resulting line is:

...AAAdrivers/input/mousedev.c

with fbcon on inteldrmfb and v3.7-rc6
...AAAdrivers/input/mousedev.c  A

with fbcon on radeondrmfb and v3.7-rc6
...AAAdrivers/input/mousedev.cAAA


There are some garbage after mousedev.c not present on older kernels.

Reverting commit 81732c in v3.7-rc6 fixes the issue.

Krzysiek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ