Skip to content

XInput_find_display: Don't dereference NULL dpyinfo

Alan Coopersmith requested to merge alanc/libxi:null into master

Unlikely, but could happen if calloc fails in XextAddDisplay()

Relies on XextHasExtension(i) macro from <X11/extensions/extutil.h> which checks for ((i) && ((i)->codes))

Fixes: #15 (closed)

Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com

Edited by Alan Coopersmith

Merge request reports