]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: Wrong unicode value copied in con_set_unimap()
authorLiz Clark <liz.clark@hp.com>
Thu, 15 Mar 2012 17:33:29 +0000 (10:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2012 20:28:52 +0000 (13:28 -0700)
commitaa4f30cb0487ad384591a95eb963c5818c2a062e
tree9ba4849babb673b14724e5ab202ca3d330d46eb2
parent17382ff2f5d359bd01fda29ab15c5fb6e806459b
TTY: Wrong unicode value copied in con_set_unimap()

Bugzilla 40012: PIO_UNIMAP bug: error updating Unicode-to-font map
https://bugzilla.kernel.org/show_bug.cgi?id=40012

The unicode font map for the virtual console is a 32x32x64 table which
allocates rows dynamically as entries are added.  The unicode value
increases sequentially and should count all entries even in empty
rows.  The defect is when copying the unicode font map in con_set_unimap(),
the unicode value is not incremented properly.  The wrong unicode value
is entered in the new font map.

Signed-off-by: Liz Clark <liz.clark@hp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/consolemap.c