xserver-multidpi/xkb
Tomas Carnecky 8861407878 Fix possible NULL dereference in XkbFlushLedEvents()
Through some code paths it is possible that NULL is being passed in the
'ed' parameter to XkbFlushLedEvents(). Make sure we don't pass it along
to bzero().

Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-11 11:37:36 +10:00
..
ddxBeep.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxCtrls.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxDevBtn.c xkb: restore XKB PtrBtn actions. 2009-07-30 08:43:13 +10:00
ddxFakeMtn.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxKillSrv.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxLEDs.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxList.c XKB: Remove support for setting combined keymaps 2009-01-22 15:08:56 +11:00
ddxLoad.c xkb: don't conditionally include xkb-config.h. 2009-10-20 13:32:14 +10:00
ddxPrivate.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
ddxVT.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
Makefile.am xkb: don't conditionally include xkb-config.h. 2009-10-20 13:32:14 +10:00
maprules.c xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
README.compiled R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
xkb.c XkbWriteCountedString(): return early if str is NULL 2009-12-11 11:37:36 +10:00
xkb.h xkb: move XkbFilterEvents to xkbsrv.h 2009-07-30 08:43:14 +10:00
xkbAccessX.c Set the source and deviceid for key repeat events (#24785) 2009-12-03 08:24:04 +10:00
xkbActions.c xkb: split effectiveGroup calculation into separate utility function. 2009-09-13 10:30:14 +10:00
XKBAlloc.c xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
xkbDflts.h Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
xkbEvents.c input: allow for detectable autorepeat. 2009-09-04 12:59:41 +10:00
xkbfmisc.c xkb: Remove XKMformat.h include from xkbsrv.h into the files that need it. 2009-07-15 12:30:44 +10:00
XKBGAlloc.c xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
xkbgeom.h xkb: remove some now-useless XFUNCPROTOBEGIN 2009-05-08 14:28:44 +10:00
xkbInit.c xkb: don't conditionally include xkb-config.h. 2009-10-20 13:32:14 +10:00
xkbLEDs.c Fix possible NULL dereference in XkbFlushLedEvents() 2009-12-11 11:37:36 +10:00
XKBMAlloc.c xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
XKBMisc.c Revert "XKB: Sanitise * actions" commits (#19602) 2009-07-10 11:23:52 +10:00
xkbout.c xkb: Remove XKMformat.h include from xkbsrv.h into the files that need it. 2009-07-15 12:30:44 +10:00
xkbPrKeyEv.c input: don't use typecasts to access members of InternalEvent. 2009-09-22 11:15:32 +10:00
xkbSwap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
xkbtext.c xkb: Remove XKMformat.h include from xkbsrv.h into the files that need it. 2009-07-15 12:30:44 +10:00
xkbUtils.c xkb: Use XkbPerKeyBitArraySize instead of hardcoded value of 32 2009-09-30 00:23:47 -07:00
xkmread.c xkb: Remove XKMformat.h include from xkbsrv.h into the files that need it. 2009-07-15 12:30:44 +10:00

The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.

Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.