RE: [PATCH] TTY: Wrong unicode value copied in con_set_unimap()
From: Clark, Liz
Date: Thu Mar 15 2012 - 15:37:12 EST
> -----Original Message-----
> From: Greg KH [mailto:gregkh@xxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, March 15, 2012 11:55 AM
> To: Clark, Liz
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] TTY: Wrong unicode value copied in
> con_set_unimap()
>
> On Thu, Mar 15, 2012 at 10:33:29AM -0700, Liz Clark wrote:
> > Bugzilla 40012: PIO_UNIMAP bug: error updating Unicode-to-font map
> >
> > 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@xxxxxx>
>
> Is this a new problem caused by recent changes in this area, or has it
> always been there and needs to be backported to older kernels to solve
> the problem there?
>
> thanks,
>
> greg k-h
The code with the defect was introduced in v2.1.112. Prior to that the fontmap was not copied at all in con_set_unimap().
Liz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/