xserver/Xi
Jeremy Huddleston Sequoia ee06f674bb Xi: Silence some tautological warnings
xichangehierarchy.c:424:23: warning: comparison of constant 536870911 with expression of type 'uint16_t'
      (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare,Semantic Issue]
    if (stuff->length > (INT_MAX >> 2))
        ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
xichangehierarchy.c:438:26: warning: comparison of constant 536870911 with expression of type 'uint16_t'
      (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare,Semantic Issue]
        if ((any->length > (INT_MAX >> 2)) || (len < (any->length << 2)))
             ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-10-20 09:07:31 +10:00
..
Makefile.am Build Xi/stubs.c once as a convenience library, rather than once for each DDX which wants to use it 2014-03-27 14:09:43 +00:00
allowev.c
allowev.h
chgdctl.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
chgdctl.h
chgfctl.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
chgfctl.h
chgkbd.c
chgkbd.h
chgkmap.c
chgkmap.h
chgprop.c
chgprop.h
chgptr.c
chgptr.h
closedev.c
closedev.h
devbell.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
devbell.h
exevents.c Xi: call UpdateDeviceState() even when the client is missing 2015-06-18 07:30:39 +10:00
exglobals.h
extinit.c input: un-constify dev->name 2014-02-04 11:27:48 +10:00
getbmap.c
getbmap.h
getdctl.c
getdctl.h
getfctl.c
getfctl.h
getfocus.c
getfocus.h
getkmap.c
getkmap.h
getmmap.c
getmmap.h
getprop.c Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
getprop.h
getselev.c
getselev.h
getvers.c
getvers.h
grabdev.c Xi: Use 'void *' instead of 'Pointer' (which is going away) 2014-01-22 19:56:31 -08:00
grabdev.h
grabdevb.c
grabdevb.h
grabdevk.c
grabdevk.h
gtmotion.c
gtmotion.h
listdev.c Xi: remove superfluous cast. 2014-02-04 10:53:59 +10:00
listdev.h
opendev.c
opendev.h
queryst.c
queryst.h
selectev.c
selectev.h
sendexev.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
sendexev.h
setbmap.c
setbmap.h
setdval.c
setdval.h
setfocus.c
setfocus.h
setmmap.c
setmmap.h
setmode.c
setmode.h
stubs.c
ungrdev.c
ungrdev.h
ungrdevb.c
ungrdevb.h
ungrdevk.c
ungrdevk.h
xiallowev.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xiallowev.h
xibarriers.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xibarriers.h
xichangecursor.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xichangecursor.h
xichangehierarchy.c Xi: Silence some tautological warnings 2015-10-20 09:07:31 +10:00
xichangehierarchy.h
xigetclientpointer.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xigetclientpointer.h
xigrabdev.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xigrabdev.h
xipassivegrab.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xipassivegrab.h
xiproperty.c Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
xiproperty.h
xiquerydevice.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xiquerydevice.h
xiquerypointer.c Let calloc handle multiplication 2015-04-21 16:57:07 -07:00
xiquerypointer.h
xiqueryversion.c
xiqueryversion.h
xiselectev.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xiselectev.h
xisetclientpointer.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xisetclientpointer.h
xisetdevfocus.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xisetdevfocus.h
xiwarppointer.c Xi: unvalidated lengths in Xinput extension [CVE-2014-8095] 2014-12-08 18:09:48 -08:00
xiwarppointer.h