libX11 - scan-build results

User:jeremy@yuffie.apple.com
Working Directory:/Users/jeremy/src/freedesktop/jhbuild/src/xorg/lib/libX11
Command Line:make
Clang Version:clang version 3.8.0 (branches/release_38 262722)
Date:Sun May 29 20:20:01 2016

Bug Summary

Bug TypeQuantityDisplay?
All Bugs83
Dead store
Dead assignment18
Dead increment9
Logic error
Assigned value is garbage or undefined6
Dereference of null pointer19
Out-of-bound array access14
Result of operation is garbage or undefined3
Uninitialized argument value1
Unix API3
Memory Error
Memory leak1
Use-after-free1
Unix API
Allocator sizeof operand mismatch8

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchsrc/xlibi18n/XDefaultOMIF.c_XDefaultOpenOM10891View Report
Unix APIAllocator sizeof operand mismatchsrc/xlibi18n/lcPublic.ccreate871View Report
Unix APIAllocator sizeof operand mismatchmodules/lc/gen/lcGenConv.ccreate_conv26271View Report
Unix APIAllocator sizeof operand mismatchsrc/xlibi18n/lcGeneric.ccreate671View Report
Unix APIAllocator sizeof operand mismatchsrc/xlibi18n/lcConv.copen_indirect_converter2591View Report
Unix APIAllocator sizeof operand mismatchsrc/xlibi18n/XDefaultOMIF.ccreate_oc8791View Report
Unix APIAllocator sizeof operand mismatchmodules/om/generic/omGeneric.ccreate_oc15721View Report
Unix APIAllocator sizeof operand mismatchmodules/om/generic/omGeneric.ccreate_om17591View Report
Logic errorAssigned value is garbage or undefinedmodules/im/ximcp/imDefIm.c_XimConnection5958View Report
Logic errorAssigned value is garbage or undefinedsrc/WrBitF.cXWriteBitmapFile14612View Report
Logic errorAssigned value is garbage or undefinedsrc/xlibi18n/lcDB.cappend_value_list52317View Report
Logic errorAssigned value is garbage or undefinedsrc/PolyReg.cPtsToRegion44719View Report
Logic errorAssigned value is garbage or undefinedsrc/locking.c_XFreeDisplayLock4199View Report
Logic errorAssigned value is garbage or undefinedsrc/PolyReg.cXPolygonRegion62817View Report
Dead storeDead assignmentsrc/xkb/XKBBind.cXkbTranslateKeyCode2891View Report
Dead storeDead assignmentsrc/xlibi18n/XDefaultOMIF.cparse_fontname4101View Report
Dead storeDead assignmentsrc/Font.c_XF86LoadQueryLocaleFont6681View Report
Dead storeDead assignmentsrc/xkb/XKBNames.cXkbChangeNames6191View Report
Dead storeDead assignmentmodules/lc/gen/lcGenConv.cwcstocts11241View Report
Dead storeDead assignmentsrc/xlibi18n/lcDB.cf_double_quote8251View Report
Dead storeDead assignmentsrc/xkb/XKBleds.c_XkbReadGetIndicatorMapReply1091View Report
Dead storeDead assignmentsrc/xcms/HVCGcVC.cXcmsTekHVCClipVC1681View Report
Dead storeDead assignmentsrc/xkb/XKBGetMap.c_XkbReadKeyTypes441View Report
Dead storeDead assignmentsrc/xkb/XKBSetGeom.c_SendSetGeometry4371View Report
Dead storeDead assignmentmodules/om/generic/omGeneric.cparse_fontdata9621View Report
Dead storeDead assignmentsrc/Xrm.cGetDatabase13431View Report
Dead storeDead assignmentsrc/xlibi18n/XDefaultOMIF.cinit_om10581View Report
Dead storeDead assignmentsrc/PolyTxt16.cXDrawText161811View Report
Dead storeDead assignmentmodules/im/ximcp/imDefIm.c_XimCheckLocaleName1721View Report
Dead storeDead assignmentsrc/Xrm.cGetDatabase13181View Report
Dead storeDead assignmentsrc/xcms/CvCols.cXcmsConvertColors9291View Report
Dead storeDead assignmentsrc/PolyTxt.cXDrawText1801View Report
Dead storeDead incrementsrc/xkb/XKBGetByName.cXkbGetKeyboardByName1381View Report
Dead storeDead incrementmodules/lc/gen/lcGenConv.ccstowcs15081View Report
Dead storeDead incrementmodules/im/ximcp/imCallbk.c_XimPreeditCaretCallback6071View Report
Dead storeDead incrementmodules/om/generic/omText.c_XomGenericDrawString3431View Report
Dead storeDead incrementmodules/om/generic/omGeneric.cparse_omit_name7821View Report
Dead storeDead incrementsrc/xkb/XKBCompat.c_XkbWriteSetCompatMap2081View Report
Dead storeDead incrementmodules/im/ximcp/imCallbk.c_read_text_from_packet4551View Report
Dead storeDead incrementsrc/xkb/XKBList.cXkbListComponents1831View Report
Dead storeDead incrementmodules/lc/gen/lcGenConv.cctstowcs14071View Report
Logic errorDereference of null pointermodules/im/ximcp/imDefIm.c_XimProtoSetIMValues134114View Report
Logic errorDereference of null pointersrc/PolyTxt.cXDrawText16932View Report
Logic errorDereference of null pointersrc/OpenDis.cOutOfMemory70411View Report
Logic errorDereference of null pointersrc/xlibi18n/wcWrap.cXwcDrawText856View Report
Logic errorDereference of null pointersrc/PolyTxt.cXDrawText19934View Report
Logic errorDereference of null pointersrc/xkb/XKBMAlloc.cXkbAddKeyType33813View Report
Logic errorDereference of null pointersrc/ImUtil.c_XPutPixel181320View Report
Logic errorDereference of null pointersrc/xlibi18n/mbWrap.cXmbDrawText846View Report
Logic errorDereference of null pointersrc/ImUtil.c_XPutPixel181120View Report
Logic errorDereference of null pointermodules/om/generic/omTextEsc.cTextWidthWithFontSet17519View Report
Logic errorDereference of null pointersrc/xlibi18n/XDefaultIMIF.c_CloseIM2367View Report
Logic errorDereference of null pointersrc/ModMap.cXInsertModifiermapEntry16111View Report
Logic errorDereference of null pointersrc/xkb/XKBMAlloc.cXkbAddKeyType32214View Report
Logic errorDereference of null pointermodules/im/ximcp/imDefIm.c_XimProtoSetIMValues136517View Report
Logic errorDereference of null pointersrc/PolyTxt16.cXDrawText1616932View Report
Logic errorDereference of null pointermodules/im/ximcp/imDefIm.c_XimProtoSetIMValues137126View Report
Logic errorDereference of null pointersrc/PolyTxt16.cXDrawText1620334View Report
Logic errorDereference of null pointermodules/im/ximcp/imDefIm.c_XimProtoSetIMValues136129View Report
Logic errorDereference of null pointersrc/xlibi18n/utf8Wrap.cXutf8DrawText1066View Report
Memory ErrorMemory leaksrc/TextToStr.cXTextPropertyToStringList10414View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cread_EncodingInfo184853View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cset_missing_list126434View Report
Logic errorOut-of-bound array accessmodules/im/ximcp/imRmAttr.c_XimEncodePreeditValue99013View Report
Logic errorOut-of-bound array accessmodules/im/ximcp/imLcPrs.cTransFileName39016View Report
Logic errorOut-of-bound array accessmodules/im/ximcp/imLcIm.c_XimWriteCachedDefaultTree47937View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cset_missing_list125729View Report
Logic errorOut-of-bound array accessmodules/im/ximcp/imExten.c_XimSetExtensionList3266View Report
Logic errorOut-of-bound array accesssrc/FSWrap.ccopy_string_list15518View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cset_missing_list126732View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cset_missing_list126032View Report
Logic errorOut-of-bound array accessmodules/im/ximcp/imRmAttr.c_XimEncodeStatusValue104113View Report
Logic errorOut-of-bound array accesssrc/SetHints.cXSetCommand22322View Report
Logic errorOut-of-bound array accesssrc/xlibi18n/lcPrTxt.c_XTextPropertyToTextList18822View Report
Logic errorOut-of-bound array accessmodules/om/generic/omGeneric.cinit_om204451View Report
Logic errorResult of operation is garbage or undefinedmodules/im/ximcp/imDefIm.c_XimProtoSetIMValues136727View Report
Logic errorResult of operation is garbage or undefinedmodules/im/ximcp/imDefLkup.c_XimTriggerNotify5619View Report
Logic errorResult of operation is garbage or undefinedmodules/im/ximcp/imExten.c_XimExtension47912View Report
Logic errorUninitialized argument valuesrc/xcms/cmsColNm.c_XcmsLookupColorName43251View Report
Logic errorUnix APIsrc/Region.cmiRegionCopy54011View Report
Logic errorUnix APIsrc/Host.cchangehost9712View Report
Logic errorUnix APIsrc/KeyBind.cXRebindKeysym9447View Report
Memory ErrorUse-after-freemodules/im/ximcp/imDefIm.c_XimProtoSetIMValues133319View Report