daniel@mirsa.inria.fr (Daniel Dardailler) (11/29/88)
~s Xlib Bug X Window System Bug Report xbugs@expo.lcs.mit.edu VERSION: R2,R3 CLIENT MACHINE and OPERATING SYSTEM: Any DISPLAY: Any WINDOW MANAGER: Any AREA: Xlib SYNOPSIS: Memory violation in routine Initialize(dpy) from XKeyBind.c DESCRIPTION: If the depth of the keycode/keysym map coming from the X Server is 1, this table, allocated with XGetKeyboardMapping, is re-allocated with double size ( /* need at least two per keycode, to have room for case conversion */ ). The bug is that the depth but *also* the number of keycode entry are multiplied by 2. code : ---- line #184, #185 of $TOP/lib/X/XKeybind.c per = 2; n <<= 1; REPEAT BY: Looking in the file. SAMPLE FIX: Remove the line #185. -- Daniel Dardailler | Email : daniel@mirsa.inria.fr BULL Centre de Sophia Antipolis | Phone : (33) 93 65 77 71 2004, Route des Lucioles | Telex : 97 00 50 F 06565 Valbonne CEDEX France | Fax : (33) 93 65 77 66