FreeBSD Bugzilla – Attachment 146584 Details for
Bug 193192
vt keymaps with Unicode characters crash X server on start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Work around X11 server crash with vt and Unicode characters >= 0x100
patch-src__bsd_kbdmap.c (text/plain), 557 bytes, created by
Stefan Eßer
on 2014-08-31 07:08:24 UTC
(
hide
)
Description:
Work around X11 server crash with vt and Unicode characters >= 0x100
Filename:
MIME Type:
Creator:
Stefan Eßer
Created:
2014-08-31 07:08:24 UTC
Size:
557 bytes
patch
obsolete
>--- src/bsd_KbdMap.c~ 2014-08-31 08:54:52.395039644 +0200 >+++ src/bsd_KbdMap.c 2014-08-31 08:59:38.210024846 +0200 >@@ -29,7 +29,7 @@ > > #if (defined(SYSCONS_SUPPORT) || defined(PCVT_SUPPORT)) && defined(GIO_KEYMAP) > #define KD_GET_ENTRY(i,n) \ >- eascii_to_x[((keymap.key[i].spcl << (n+1)) & 0x100) + keymap.key[i].map[n]] >+ keymap.key[i].map[n] < 0x100 ? eascii_to_x[((keymap.key[i].spcl << (n+1)) & 0x100) + keymap.key[i].map[n]] : 0; > > static unsigned char remap[NUM_KEYCODES] = { > 0, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* 0x00 - 0x07 */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193192
: 146584